Add watchtower, fixes and prepare for new caddy handling
This commit is contained in:
parent
a594e5d083
commit
29f31783f5
14 changed files with 213 additions and 42 deletions
watchtower
11
watchtower/.env
Normal file
11
watchtower/.env
Normal 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
|
11
watchtower/docker-compose.yml
Normal file
11
watchtower/docker-compose.yml
Normal 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
|
Reference in a new issue