23 lines
443 B
YAML
23 lines
443 B
YAML
networks:
|
|
proxy:
|
|
external: true
|
|
backend:
|
|
external: true
|
|
|
|
services:
|
|
watchtower:
|
|
image: containrrr/watchtower:latest
|
|
container_name: watchtower
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
- backend
|
|
environment:
|
|
WATCHTOWER_CLEANUP: true
|
|
WATCHTOWER_LABEL_ENABLE: true
|
|
WATCHTOWER_TIMEOUT: 30s
|
|
TZ: "America/New_York"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|