Removed env file and put into docker-compose file.

This commit is contained in:
2024-11-16 10:32:54 +00:00
parent 6d9b47958c
commit b338a28ca6
2 changed files with 8 additions and 9 deletions

View File

@@ -6,5 +6,11 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30
env_file:
- stack.env
environment:
- WATCHTOWER_NOTIFICATION_SLACK_CHANNEL="#alerts"
- WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL="https://hooks.slack.com/services/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"
- WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER=${HOSTNAME}
- WATCHTOWER_NOTIFICATIONS="slack"
- WATCHTOWER_POLL_INTERVAL=60
- WATCHTOWER_RUN_ONCE=false
- WATCHTOWER_WARN_ON_HEAD_FAILURE=never