docker-ripe-atlas/docker-compose.watchtower.yaml

9 lines
387 B
YAML
Raw Normal View History

# a very aggressive watchtower config, useful when deploying in a headless environment
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
2023-06-23 21:57:18 +08:00
# - /root/.docker/config.json:/config.json # enable only if you need it
command: --cleanup --include-restarting --include-stopped --revive-stopped --label-enable