How to add second node

This stuff may be required, if they would use the --network host option, because all ports from the container will be exposed to the host, thus they must change every listening port in the node’s configuration (either as a command line option, or as an environment variable or as an option in the config.yaml file), see

However, they also need to use a correct notation for the variable names. These ones are incorrect, so have no effect.

If they wouldn’t use the --network host, then this is not needed and they may use your command as a template.

I would also recommend to install the compose plugin for docker and use the docker-compose.yaml file instead. See example there:

This would allow to update and start not running nodes as simple as:

docker compose up --pull -d