init
This commit is contained in:
1
services/watchtower/.env.example
Normal file
1
services/watchtower/.env.example
Normal file
@@ -0,0 +1 @@
|
||||
SMTP_PASSWORD=
|
||||
23
services/watchtower/docker-compose.yml
Normal file
23
services/watchtower/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
watchtower:
|
||||
image: nickfedor/watchtower:latest
|
||||
container_name: watchtower
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- WATCHTOWER_SCHEDULE=0 0 3 * * *
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_NOTIFICATIONS=email
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=mail@jens.pub
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_TO=mail@jens.pub
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.mailbox.org
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=mail@jens.pub
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${SMTP_PASSWORD}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user