1
Files

20 lines
646 B
YAML

version: '3'
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
TZ: Europe/Paris
#WATCHTOWER_MONITOR_ONLY: "true" # enable it if we want notifications only and no action
WATCHTOWER_NOTIFICATIONS: shoutrrr
{% if watchtower_notification_url is defined %}
WATCHTOWER_NOTIFICATION_URL: '{{ watchtower_notification_url }}'
{% endif %}
WATCHTOWER_SCHEDULE: "{{ watchtower_schedule | default('0 0 3 * * *')}}"
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_DEBUG: "false"