diff --git a/.env b/.env index abd4148..996748a 100644 --- a/.env +++ b/.env @@ -69,26 +69,26 @@ ZILEAN_POSTGRES_USERNAME=postgres # The cron schedule for auto updates. # https://pkg.go.dev/github.com/robfig/cron@v1.2.0#hdr-CRON_Expression_Format AUTO_UPDATE_SCHEDULE=0 0 6 * * * # This will run the auto update at 6am every day + +# https://containrrr.dev/shoutrrr/v0.8/services/overview/ +AUTO_UPDATE_NOTIFICATION_URL= + # Timezone used for auto updates, and other services that require a timezone e.g. Prowlarr, Jackett, etc. # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ=UTC - -# FOR DOZZLE ONLY: -# This is to monitor the logs of the containers. -# You can access the logs by going to DOZZLE_HOSTNAME in your browser. -# +# Dozzle provides a web interface for viewing logs, it will be available at DOZZLE_HOSTNAME # To get the hashed password, run the following command in your terminal, replacing with your desired username. # htpasswd -nB # This will prompt you to enter a password, and then it will output the hashed password in the format : # put the and in the DOZZLE_USERNAME and DOZZLE_HASHED_PASSWORD fields respectively. # NOTE: you may need to install apache2-utils if its not already installed, you can do this by running `sudo apt-get install apache2-utils` -# -# DOZZLE_USERNAME= -# DOZZLE_HASHED_PASSWORD= -# DOZZLE_HOSTNAME= -# -# + +DOZZLE_USERNAME= +DOZZLE_HASHED_PASSWORD= +DOZZLE_HOSTNAME= + + # FOR NZBHYDRA2 ONLY: # NZBHYDRA2_HOSTNAME= diff --git a/compose.yaml b/compose.yaml index 31405b0..7565801 100644 --- a/compose.yaml +++ b/compose.yaml @@ -508,30 +508,33 @@ services: container_name: watchtower restart: unless-stopped environment: - - TZ=${TZ:-UTC} - - WATCHTOWER_CLEANUP=true - - WATCHTOWER_SCHEDULE=${AUTO_UPDATE_SCHEDULE:-0 0 6 * * *} # Run at 6am daily + TZ: ${TZ:-UTC} + WATCHTOWER_CLEANUP: "true" + WATCHTOWER_NOTIFICATION_REPORT: "true" + WATCHTOWER_SCHEDULE: ${AUTO_UPDATE_SCHEDULE:-0 0 6 * * *} # Run at 6am daily + WATCHTOWER_NOTIFICATION_URL: ${AUTO_UPDATE_NOTIFICATION_URL:-} volumes: - /var/run/docker.sock:/var/run/docker.sock - # dozzle: - # image: amir20/dozzle:latest - # container_name: dozzle - # restart: unless-stopped - # expose: - # - 8080 - # volumes: - # - /var/run/docker.sock:/var/run/docker.sock - # labels: - # - "traefik.enable=true" - # - "traefik.http.routers.dozzle.rule=Host(`${DOZZLE_HOSTNAME}`)" - # - "traefik.http.routers.dozzle.entrypoints=websecure" - # - "traefik.http.routers.dozzle.tls.certresolver=myresolver" - # - "traefik.http.routers.dozzle.middlewares=auth" - # - "traefik.http.middlewares.auth.basicauth.users=${DOZZLE_USERNAME}:${DOZZLE_HASHED_PASSWORD}" - # - # # see @url:https://ae3.ch/adguard-home-docker-with-dns-over-https-and-traefik/ - # # see @url:https://gist.github.com/diyfr/e115a82027fe45a9abf0ff4d578b111f + # Web UI for viewing logs + dozzle: + image: amir20/dozzle:latest + container_name: dozzle + restart: unless-stopped + expose: + - 8080 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + labels: + - "traefik.enable=true" + - "traefik.http.routers.dozzle.rule=Host(`${DOZZLE_HOSTNAME}`)" + - "traefik.http.routers.dozzle.entrypoints=websecure" + - "traefik.http.routers.dozzle.tls.certresolver=myresolver" + - "traefik.http.routers.dozzle.middlewares=auth" + - "traefik.http.middlewares.auth.basicauth.users=${DOZZLE_USERNAME}:${DOZZLE_HASHED_PASSWORD}" + + # see @url:https://ae3.ch/adguard-home-docker-with-dns-over-https-and-traefik/ + # see @url:https://gist.github.com/diyfr/e115a82027fe45a9abf0ff4d578b111f # adguard: # image: adguard/adguardhome:latest # container_name: adguard