Skip to content

Instantly share code, notes, and snippets.

@vladbabii
Created April 9, 2024 16:24
Show Gist options
  • Save vladbabii/8ed7c48eda28d7c97b0f1bd732b0d66a to your computer and use it in GitHub Desktop.
Save vladbabii/8ed7c48eda28d7c97b0f1bd732b0d66a to your computer and use it in GitHub Desktop.
docker compose watchtower
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