24 lines
552 B
YAML
24 lines
552 B
YAML
services:
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- WATCHTOWER_MONITOR_ONLY=true
|
|
- WATCHTOWER_POLL_INTERVAL=86400
|
|
- WATCHTOWER_CLEANUP=true
|
|
- TZ=Europe/Berlin
|
|
- DOCKER_API_VERSION=1.45
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 128M
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|