expose ddns-updater behind authentik

This commit is contained in:
Lockszmith (runtipi@kateryna) 2024-12-04 21:15:30 -05:00 committed by Lockszmith (@kateryna)
parent 1a5fcea90e
commit 52a35d6fa9
1 changed files with 39 additions and 23 deletions

View File

@ -3,33 +3,49 @@ services:
environment:
USER_UID: "${SZ_USER_UID}"
USER_GID: "${SZ_USER_GID}"
# user: "${SZ_USER_UID}"
# environment:
# - CONFIG=
# - PERIOD=5m
# - UPDATE_COOLDOWN_PERIOD=5m
# - PUBLICIP_FETCHERS=all
# - PUBLICIP_HTTP_PROVIDERS=all
# - PUBLICIPV4_HTTP_PROVIDERS=all
# - PUBLICIPV6_HTTP_PROVIDERS=all
# - PUBLICIP_DNS_PROVIDERS=all
# - PUBLICIP_DNS_TIMEOUT=3s
# - HTTP_TIMEOUT=10s
### Configuration
# DATADIR: "/updater/data"
# CONFIG_FILEPATH: "/updater/data/config.json"
# CONFIG: ""
# PERIOD: "5m"
# UPDATE_COOLDOWN_PERIOD: "5m"
# PUBLICIP_FETCHERS: "all"
# PUBLICIP_HTTP_PROVIDERS: "all"
# PUBLICIPV4_HTTP_PROVIDERS: "all"
# PUBLICIPV6_HTTP_PROVIDERS: "all"
# PUBLICIP_DNS_PROVIDERS: "all"
# PUBLICIP_DNS_TIMEOUT: "3s"
# HTTP_TIMEOUT: "10s"
# # Web UI
# - LISTENING_ADDRESS=:8000
# - ROOT_URL=/
# RESOLVER_ADDRESS: ""
# RESOLVER_TIMEOUT: "5s"
# # Backup
# - BACKUP_PERIOD=0 # 0 to disable
# - BACKUP_DIRECTORY=/updater/data
### Web UI
# SERVER_ENABLED: "yes"
# LISTENING_ADDRESS: ":8000"
# ROOT_URL: "/"
# # Other
# - LOG_LEVEL=info
# - LOG_CALLER=hidden
# - SHOUTRRR_ADDRESSES=
# restart: always
### Backup
# BACKUP_PERIOD: "0"
# BACKUP_DIRECTORY: "/updater/data"
### Other
# LOG_LEVEL: "info"
# LOG_CALLER: "hidden"
### SHOUTRRR
# SHOUTRRR_ADDRESSES: ""
# SHOUTRRR_DEFAULT_TITLE: "DDNS Updater"
### Health Check
# HEALTH_SERVER_ADDRESS: "127.0.0.1:9999"
# HEALTH_HEALTHCHECKSIO_BASE_URL: "https://hc-ping.com"
# HEALTH_HEALTHCHECKSIO_UUID: ""
labels:
traefik.http.routers.ddns-updater.rule: Host(`ddns.${ROOT_DOMAIN}`)
traefik.http.routers.ddns-updater.middlewares: authentik_sysmgr@file
volumes:
#- dummy:/updater/data:ro