Help with deploying OpenSearch with 5 data nodes using docker compose file

Hello,
We are trying to deploy OpenSearch and OpenSearch Dashboards using docker compose file per following documentaion instructions

This sample file in documentation starts two data nodes and a container for OpenSearch Dashboards
and we would like to have env with 5 data nodes instead of 2, so we edited it to be in comment below but getting errors:

[root@I***3 ~]# docker-compose up -d
ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:
Unsupported config option for services.opensearch-node2: ‘opensearch-node3’

can you please advise what defined wrong on our docker compose file?

Thanks,
Noam

Can you post your docker compose file?