avoid unnecessary nested content

This commit is contained in:
Colin Hebert
2023-11-20 09:17:35 +11:00
parent 7b34d3735d
commit 41d64d4b48
46 changed files with 0 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
name: docker-monitoring
services:
watchtower:
hostname: watchtower
image: containrrr/watchtower
environment:
WATCHTOWER_INCLUDE_RESTARTING: true
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_CLEANUP: true
WATCHTOWER_NOTIFICATION_REPORT: true
WATCHTOWER_NOTIFICATION_URL: /run/secrets/watchtower_notification_url
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Secrets
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/secrets/notification_url:/run/secrets/watchtower_notification_url:ro
restart: unless-stopped