mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-16 21:27:44 +00:00
Docker: Add watchtower
This commit is contained in:
parent
d342f8f73f
commit
c99a2279e1
19
docker/watchtower/docker-compose.toml
Normal file
19
docker/watchtower/docker-compose.toml
Normal file
@ -0,0 +1,19 @@
|
||||
[services.watchtower]
|
||||
image = "containrrr/watchtower"
|
||||
container_name = "watchtower"
|
||||
restart = "unless-stopped"
|
||||
environment = [
|
||||
"WATCHTOWER_CLEANUP=true",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_FROM=watchtower@korhonen.cc",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_TO=admin@korhonen.cc",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.migadu.com",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER}",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}",
|
||||
"WATCHTOWER_NOTIFICATION_EMAIL_DELAY=30",
|
||||
"WATCHTOWER_NOTIFICATIONS=email",
|
||||
]
|
||||
volumes = [
|
||||
"/var/run/docker.sock:/var/run/docker.sock",
|
||||
"/etc/localtime:/etc/localtime:ro",
|
||||
]
|
Loading…
Reference in New Issue
Block a user