Hi,
I have been running node in docker for a few days now. There is currently about 300GB of data on the disk.
I need to make some changes to the configuration.
Namely, I want to change the local address and port, domain address and port for this node.
I started the node via docker using the command:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 10.40.1.9:14002:14002 \
-e WALLET="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-e EMAIL="myemail@gmail.com" \
-e ADDRESS="storj.mydomain.co.uk:28967" \
-e STORAGE="9.4TB" \
--user $(id -u):$(id -g) \
--mount type=bind,source=/root/.local/share/storj/identity/storagenode/,destination=/app/identity \
--mount type=bind,source=/mnt/storj1,destination=/app/config \
--name storagenode storjlabs/storagenode:latest
Now if I want to make these changes, how exactly should I do it?
Stop the docker from node, remove it and then create it with the same command as above, only changing the appropriate parameters?
For example:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28968:28967/tcp \
-p 28968:28967/udp \
-p 10.90.1.102:14002:14002 \
-e WALLET="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-e EMAIL="myemail@gmail.com" \
-e ADDRESS="storj.mydomain2.co.uk:28968" \
-e STORAGE="9.4TB" \
--user $(id -u):$(id -g) \
--mount type=bind,source=/root/.local/share/storj/identity/storagenode/,destination=/app/identity \
--mount type=bind,source=/mnt/storj1,destination=/app/config \
--name storagenode storjlabs/storagenode:latest
I preferred to ask rather than lose the data that I already have on this node.