Replace secrets/configs with mounted files/folders
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user