self-hosted-cookbook/apps/docker/watch-tower.md
Tomasz Borychowski b6e63b4097 typo
2022-09-17 13:53:00 +01:00

27 lines
596 B
Markdown

# WatchTower
- too many notifications
- some false positive (thanks to crappy docker-hub api)
<br>
- [Github repo](https://github.com/containrrr/watchtower/)
- [Docs](https://containrrr.dev/watchtower/)
## docker-compose.yml
```yml
---
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30
environment:
- TZ=Europe/Dublin
- WATCHTOWER_MONITOR_ONLY=true
- WATCHTOWER_NOTIFICATIONS=slack
- WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL=https://hooks.slack.com/services/a/b/c
```