Refactoring
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-10-29 05:04:47 +02:00
parent 8427fb33b7
commit fa65c33072
67 changed files with 452 additions and 344 deletions

View File

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=watchtower

View File

@ -0,0 +1,21 @@
---
services:
update:
image: containrrr/watchtower:latest
container_name: Watchtower
privileged: true
environment:
DOCKER_CONFIG: /config
WATCHTOWER_SCHEDULE: 0 42 * * * *
WATCHTOWER_CLEANUP: 1
WATCHTOWER_ROLLING_RESTART: 1
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
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/core/.docker:/config
restart: always
...