docker-compose-updater
536
This starts and docker-compose configuration and keeps the Containers updated with
the referenced Image tag in your Docker Repository.
It might be useful if you use an approach where where you push new versions of an
image onto the same Docker tag like :latest or staging-latest.
The script pulls your new image before stopping the old one which helps to keep the downtime as low as possible.
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd)/docker-compose/:/docker-compose-updater/docker-compose.yml \
-e CHECK_INTERVAL_SEC=60 \
stephanlindauer/docker-compose-updater
Note:
-v /var/run/docker.sock:/var/run/docker.sock
docker-compose.yml you want to run
-v $(pwd)/docker-compose.yml:/docker-compose-updater/docker-compose.yml
CHECK_INTERVAL_SEC or let it default to 60 seconds
-e CHECK_INTERVAL_SEC=1337
Content type
Image
Digest
Size
19.6 MB
Last updated
over 9 years ago
docker pull stephanlindauer/docker-compose-updater