Add watchtower, fixes and prepare for new caddy handling

This commit is contained in:
Tobias Reisinger 2022-08-06 02:05:08 +02:00
parent a594e5d083
commit 29f31783f5
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
14 changed files with 213 additions and 42 deletions

11
watchtower/.env Normal file
View file

@ -0,0 +1,11 @@
WATCHTOWER_LABEL_ENABLE=true
WATCHTOWER_CLEANUP=true
WATCHTOWER_NOTIFICATIONS=email
WATCHTOWER_NOTIFICATION_EMAIL_FROM=watchtower@serguzim.me
WATCHTOWER_NOTIFICATION_EMAIL_TO=tobias@msrg.cc
WATCHTOWER_NOTIFICATION_EMAIL_SERVER=mail.serguzim.me
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=watchtower@serguzim.me
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=
WATCHTOWER_NOTIFICATION_EMAIL_DELAY=5

View file

@ -0,0 +1,11 @@
version: "3"
services:
watchtower:
image: containrrr/watchtower
restart: always
env_file:
- .env
- .secret.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock