docker-ripe-atlas/docker-compose.watchtower.yaml
2023-06-23 21:41:00 +08:00

9 lines
356 B
YAML

# 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
- /root/.docker/config.json:/config.json
command: --cleanup --include-restarting --include-stopped --revive-stopped --label-enable