2021-02-25 23:38:59 +01:00
|
|
|
## Discord Plex FR : https://discord.gg/ERpYMqS
|
2021-02-26 14:33:11 +01:00
|
|
|
## Version 2021-02-26
|
2021-02-25 23:38:59 +01:00
|
|
|
version: "2.3"
|
|
|
|
services:
|
|
|
|
watchtower:
|
|
|
|
container_name: watchtower
|
|
|
|
image: containrrr/watchtower:amd64-latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Paris
|
2021-02-26 14:33:11 +01:00
|
|
|
- WATCHTOWER_SCHEDULE= 0 0 6 * * * #mise a jour des conteneurs tous les jours a 6:00
|
2021-02-25 23:38:59 +01:00
|
|
|
- WATCHTOWER_LABEL_ENABLE=true
|
|
|
|
- WATCHTOWER_CLEANUP=true
|
|
|
|
- WATCHTOWER_REMOVE_VOLUMES=true
|
|
|
|
- WATCHTOWER_NOTIFICATIONS_LEVEL=debug
|
|
|
|
#Les 3 lignes dessous sont a utiliser pour être notifié par Gotify
|
|
|
|
# - WATCHTOWER_NOTIFICATIONS=gotify
|
|
|
|
# - WATCHTOWER_NOTIFICATION_GOTIFY_URL=https://gotify.ndd.fr
|
2021-02-26 14:33:11 +01:00
|
|
|
# - WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=
|
2021-02-25 23:38:59 +01:00
|
|
|
- WATCHTOWER_ROLLING_RESTART=true
|
|
|
|
- WATCHTOWER_LIFECYCLE_HOOKS=true
|
2021-02-26 14:33:11 +01:00
|
|
|
#Les 3 lignes dessous sont a utiliser pour être notifié par SLACK/DISCORD
|
|
|
|
# - WATCHTOWER_NOTIFICATIONS=slack #si discord laissé slack
|
|
|
|
# - WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER=Watchtower
|
|
|
|
# - WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL=URL-DU-TOKEN/slack #si discord laissé /slack
|
2021-02-25 23:38:59 +01:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2021-02-26 14:33:11 +01:00
|
|
|
network_mode: prod #conseillé de ne pas utiliser host car limité a 16 containers
|