16 lines
646 B
YAML
16 lines
646 B
YAML
version: '3.8'
|
|
services:
|
|
watchtower:
|
|
image: containrrr/watchtower:latest
|
|
container_name: watchtower
|
|
environment:
|
|
WATCHTOWER_MONITOR_ONLY: 'true'
|
|
WATCHTOWER_NOTIFICATIONS: email
|
|
WATCHTOWER_NOTIFICATION_EMAIL_FROM: techopsalerts@turnsys.com
|
|
WATCHTOWER_NOTIFICATION_EMAIL_TO: prodtechopsalerts@turnsys.com
|
|
# you have to use a network alias here, if you use your own certificate
|
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: pfv-toolbox.turnsys.net
|
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 25
|
|
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock |