Added container name.

This commit is contained in:
2024-10-19 07:22:40 +01:00
parent e5dac01e18
commit 91c5bcf7e6

View File

@@ -1,12 +1,12 @@
version: "3" version: "3"
services: services:
watchtower: watchtower:
container_name: watchtower-zway
image: containrrr/watchtower image: containrrr/watchtower
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
command: --interval 30 command: --interval 30
environment: environment:
- COMPOSE_PROJECT_NAME=watchtower
- WATCHTOWER_NOTIFICATION_SLACK_CHANNEL=#alerts - WATCHTOWER_NOTIFICATION_SLACK_CHANNEL=#alerts
- WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL=https://hooks.slack.com/services/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 - WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL=https://hooks.slack.com/services/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
- WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER=watchtower-zway - WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER=watchtower-zway