Created
April 9, 2024 16:24
-
-
Save vladbabii/8ed7c48eda28d7c97b0f1bd732b0d66a to your computer and use it in GitHub Desktop.
docker compose watchtower
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.1" | |
services: | |
watchtower: | |
image: containrrr/watchtower | |
container_name: watchtower | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Europe/Bucharest | |
# - WATCHTOWER_NOTIFICATIONS=gotify | |
# - WATCHTOWER_NOTIFICATION_GOTIFY_URL=https://<domain>/ | |
# - WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=<token> | |
# - WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY=true | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
command: --rolling-restart --interval 86400 --label-enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment