Files
nas-compose/utilities.docker-compose.yml
2023-01-20 17:42:51 +01:00

23 lines
561 B
YAML

services:
watchtower:
image: containrrr/watchtower
environment:
DOCKER_HOST: tcp://docker:2375
WATCHTOWER_INCLUDE_RESTARTING: true
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_MONITOR_ONLY: true
WATCHTOWER_NOTIFICATION_URL: /run/secrets/watchtower_notification_url
networks:
- docker
secrets:
- watchtower_notification_url
restart: unless-stopped
networks:
docker:
external: true
secrets:
watchtower_notification_url:
file: ${NASCOMPOSE_SERVICES?}/secrets/watchtower/notification_url