mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2026-01-20 15:40:34 +00:00
dwnld
This commit is contained in:
27
apps/docker/watch-tower.md
Normal file
27
apps/docker/watch-tower.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
---
|
||||
version: "3"
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user