Upgrading the Subnet¶
Updating Configs¶
Upgrading Subnet Deployment¶
Create a Subnet backup¶
-
Make a copy of
xdcchain
directory
Update Subnet Versions¶
- Go to
docker-compose.yml
undergenerated
directory. - Change the docker image tag of your desired component(s).
- Run:
docker compose --env-file docker-compose.env --profile machine1 up -d docker compose --env-file docker-compose.env --profile services up -d
Using latest
tag is not recommended since not all components version are not guaranteed to be compatible.
Updating Services Configs¶
- Shut down subnet services
docker compose --env-file docker-compose.env --profile services down
-
Update configuration (usually ENVs inside common.env file)
-
Start subnet services
docker compose --env-file docker-compose.env --profile services up -d