2022-06-18 14:12:12 +02:00
|
|
|
---
|
|
|
|
services:
|
2022-06-20 13:32:12 +02:00
|
|
|
update:
|
2022-06-18 14:12:12 +02:00
|
|
|
image: containrrr/watchtower:latest
|
2022-06-22 20:26:50 +02:00
|
|
|
container_name: Watchtower
|
2022-06-18 14:12:12 +02:00
|
|
|
privileged: true
|
|
|
|
environment:
|
|
|
|
DOCKER_CONFIG: /config
|
2022-09-25 14:55:45 +02:00
|
|
|
WATCHTOWER_SCHEDULE: 0 42 * * * *
|
2022-06-18 14:12:12 +02:00
|
|
|
WATCHTOWER_CLEANUP: 1
|
|
|
|
WATCHTOWER_ROLLING_RESTART: 1
|
2022-06-20 15:05:10 +02:00
|
|
|
WATCHTOWER_NOTIFICATIONS: slack
|
|
|
|
WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL: https://discord.com/api/webhooks/{{ watchtower.discord.webhook }}/slack
|
|
|
|
WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER: Watchtower
|
|
|
|
WATCHTOWER_NOTIFICATION_SLACK_ICON_EMOJI: ":whale:"
|
|
|
|
WATCHTOWER_NOTIFICATION_SLACK_ICON_URL: https://raw.githubusercontent.com/containrrr/watchtower/master/logo.png
|
2022-06-18 14:12:12 +02:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /home/core/.docker:/config
|
|
|
|
restart: always
|
|
|
|
...
|