Docker settings for 2 nodes on the same machine?

Hello,

can somebody tell me what are corect setting when 1 Node is running on the same machine.
How to set thj eports for second node on same machine?

sudo docker run -d --restart always -p 28967:28967
-p 14002:14002
-e ADDRESS=“yyy.yyy.yyy.yy:28967” \

-p xxxxx:28967 -p 14003:14002 -e ADDRESS=yyy.yyy.yyy.yy:xxxxx

The xxxxx is an unique external port, which you will forward to the PC with storagenode

@Alexey Thank you. Have you also a hint how to set watchtower when I have 2 nodes?
My names shall be storagenode_1 and storagenode_2

Please, replace the storagenode with storagenode_1 storagenode_2 in the Watchtower command: https://documentation.storj.io/setup/cli/software-updates#automatic-updates

1 Like