40 lines
966 B
YAML
40 lines
966 B
YAML
services:
|
|
ddns-updater:
|
|
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
|
|
|
|
# # Web UI
|
|
# - LISTENING_ADDRESS=:8000
|
|
# - ROOT_URL=/
|
|
|
|
# # Backup
|
|
# - BACKUP_PERIOD=0 # 0 to disable
|
|
# - BACKUP_DIRECTORY=/updater/data
|
|
|
|
# # Other
|
|
# - LOG_LEVEL=info
|
|
# - LOG_CALLER=hidden
|
|
# - SHOUTRRR_ADDRESSES=
|
|
# restart: always
|
|
|
|
volumes:
|
|
#- dummy:/updater/data:ro
|
|
- type: bind
|
|
source: ${ROOT_FOLDER_HOST}/user-config/${APP_ID}/config.json
|
|
target: /updater/data/config.json
|
|
read_only: true
|