Linux/Docker/Automation: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
* add to docker-compose.yml: | * add to docker-compose.yml: | ||
<blockquote><pre> | <blockquote><pre> | ||
watchtower: | |||
image: containrrr/watchtower | image: containrrr/watchtower | ||
volumes: | volumes: |
Latest revision as of 13:32, 17 March 2020
Watchtower
- add to docker-compose.yml:
watchtower: image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock - /root/.docker/config.json:/config.json command: --interval 30 restart: always