Replace secrets/configs with mounted files/folders

This commit is contained in:
Colin Hebert
2023-04-16 09:34:30 +10:00
parent fe50b4d1a9
commit 1520a5a63f
8 changed files with 28 additions and 102 deletions

View File

@@ -13,6 +13,9 @@ services:
WATCHTOWER_NOTIFICATION_URL: /run/secrets/watchtower_notification_url
networks:
- docker
volumes:
# Secrets
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/secrets/notification_url:/run/secrets/watchtower_notification_url:ro
secrets:
- watchtower_notification_url
restart: unless-stopped
@@ -20,7 +23,3 @@ services:
networks:
docker:
external: true
secrets:
watchtower_notification_url:
file: ${NASCOMPOSE_SERVICES?}/docker-monitoring/secrets/notification_url