Explore using Watchtower for docker-compose
I've been using Watchtower to update the Docker images of my docker-compose setups.
It works flawlessly and I think it could replace the reload-service
CI/CD jobs that we have in the projects for aura-web with an additional watchtower.yml
:
services:
watchtower:
command: --interval 60 # the default for poll interval is 86400 (24 hours)
container_name: watchtower
image: containrrr/watchtower:1.5.3
volumes:
- /var/run/docker.sock:/var/run/docker.sock
This check every minute for new images, updates them and restart the services.
Edited by Ernesto Rico Schmidt