docker-compose angelegt

This commit is contained in:
2021-11-23 09:45:22 +01:00
parent 71e22d2042
commit 219d522dfa
+20
View File
@@ -0,0 +1,20 @@
version: '3.7'
services:
watchtower:
image: containrrr/watchtower
command: --monitor-only --cleanup -i 28800 --include-stopped --label-enable --stop-timeout 30s
#--debug --monitor-only
environment:
- TZ=${TZ}
- WATCHTOWER_NOTIFICATIONS=email
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=admin@solusar.de
- WATCHTOWER_NOTIFICATION_EMAIL_TO=gorden@solusar.de
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=mail.solusar.de
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=admin@solusar.de
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=#gentoo#
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
labels:
com.centurylinklabs.watchtower.enable: "true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always