adding watchtower to auto-update

This commit is contained in:
2020-05-29 14:49:25 +10:00
parent df76c5a559
commit 714cafa692

View File

@@ -227,8 +227,15 @@ services:
- "traefik.http.routers.isotope-client.entrypoints=secureweb" - "traefik.http.routers.isotope-client.entrypoints=secureweb"
- "traefik.http.routers.isotope-client.tls=true" - "traefik.http.routers.isotope-client.tls=true"
# auto-update docker images
watchtower:
image: containrrr/watchtower
container_name: watchtower
# should use --cleanup as well...
command: --schedule "0 0 3 * * *" --debug --stop-timeout 60s
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# override the default network to use the "user-generated" plex-net # override the default network to use the "user-generated" plex-net
# weirdy, ONLY, user-generated networks allow DNS service discovery # weirdy, ONLY, user-generated networks allow DNS service discovery