I’ve been looking at setting up a pool with nessus-cardano docker images. I’ve already started a relay node, which synchronized itself to the current epoch, and even got some IN connection from other nodes.
Now I’m a bit confused with all the scripts found in the GitHub repository. The command I ran to start my node is
--name=relay \
-p 3001:3001 \
-e CARDANO_UPDATE_TOPOLOGY=true \
-v shelley-data:/opt/cardano/data \
nessusio/cardano run
This uses a volume (shelley-data) to store the chain, and apparently doesn’t allow to modify the config files.
But there are other shell scripts, which seems to be more complex, where the node command is:
--name=relay \
--restart=always \
--ip 172.18.0.10 \
--network cardano \
--hostname="relay" \
-p 3001:3001 \
-e CARDANO_UPDATE_TOPOLOGY=true \
-e CARDANO_CUSTOM_PEERS="172.18.0.20:3001" \
-e CARDANO_TOPOLOGY="/var/cardano/config/mainnet-topology.json" \
-v cardano-relay-config:/var/cardano/config \
-v /mnt/disks/data00:/opt/cardano/data \
nessusio/cardano:dev run
In this case the volume for the data is different, and there is a config volume.
The question is, can I use my previous volume here (so I don’t have to wait for a new sync and spend 500Gb from my hosting again)? Or can I copy the data directory from my previous volume to this one?