15 lines
382 B
YAML
15 lines
382 B
YAML
---
|
|
version: "3.8"
|
|
services:
|
|
watchtower:
|
|
container_name: watchtower
|
|
image: containrrr/watchtower:latest
|
|
restart: unless-stopped
|
|
network_mode: bridge
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- TZ=Europe/Amsterdam
|
|
- WATCHTOWER_CLEANUP=true
|
|
- WATCHTOWER_POLL_INTERVAL=86400
|
|
- WATCHTOWER_LABEL_ENABLE=true |