2022-06-18 14:12:12 +02:00
|
|
|
---
|
|
|
|
services:
|
2022-06-20 13:32:12 +02:00
|
|
|
update:
|
2022-06-18 14:12:12 +02:00
|
|
|
image: containrrr/watchtower:latest
|
|
|
|
privileged: true
|
|
|
|
environment:
|
|
|
|
DOCKER_CONFIG: /config
|
2022-06-20 13:32:12 +02:00
|
|
|
WATCHTOWER_POLL_INTERVAL: 21600
|
2022-06-18 14:12:12 +02:00
|
|
|
WATCHTOWER_CLEANUP: 1
|
|
|
|
WATCHTOWER_ROLLING_RESTART: 1
|
|
|
|
WATCHTOWER_SCOPE: update
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /home/core/.docker:/config
|
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
- "com.centurylinklabs.watchtower.scope=update"
|
|
|
|
|
|
|
|
http:
|
|
|
|
image: containrrr/watchtower:latest
|
|
|
|
privileged: true
|
|
|
|
environment:
|
|
|
|
DOCKER_CONFIG: /config
|
|
|
|
WATCHTOWER_POLL_INTERVAL: 900
|
|
|
|
WATCHTOWER_CLEANUP: 1
|
|
|
|
WATCHTOWER_ROLLING_RESTART: 1
|
|
|
|
WATCHTOWER_SCOPE: http
|
|
|
|
volumes:
|
|
|
|
- /home/core/.docker/:/config/
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
- "com.centurylinklabs.watchtower.scope=http"
|
|
|
|
...
|