Fixed bad environment definitions in docker compose examples

This commit is contained in:
Wise 2025-01-13 18:46:47 +01:00 committed by GitHub
parent 76f9cea516
commit ce568c7a3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,7 +150,7 @@ Example using a custom report template that always sends a session report after
image: containrrr/watchtower image: containrrr/watchtower
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
env: environment:
WATCHTOWER_NOTIFICATION_REPORT: "true" WATCHTOWER_NOTIFICATION_REPORT: "true"
WATCHTOWER_NOTIFICATION_URL: > WATCHTOWER_NOTIFICATION_URL: >
discord://token@channel discord://token@channel
@ -212,7 +212,7 @@ If watchtower is started with `notify-upgrade` as it's first argument, it will g
image: containrrr/watchtower image: containrrr/watchtower
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
env: environment:
WATCHTOWER_NOTIFICATIONS: slack WATCHTOWER_NOTIFICATIONS: slack
WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL: https://hooks.slack.com/services/xxx/yyyyyyyyyyyyyyy WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL: https://hooks.slack.com/services/xxx/yyyyyyyyyyyyyyy
command: notify-upgrade command: notify-upgrade