- Download this repository to /ctr_cfg on the docker host
- Obtain the last backup from cloud storage, and extract to the same location
The following user and group need to be created so that the container permissions are correct:
- ctrdata - 9001
All docker images should be configured to run as that user
Once that is done, run fix-permissions.sh to ensure the file permissions are correct
A docker network needs to be configured to ensure that all containers can see each other. To create the network:
docker network create -d bridge ctr-network
All of the configuration is stored on a local mount volume. This is because backing up and restoring mounted volumes is much easier than docker managed volumes.
All config is stored under /ctr_cfg, and can be obtained by extracting the data from the last backup.
Note: ENV files are not present and need to be copied from secure cloud storage
Write ansible scripts to automate this process