switch json block in env to be map syntax for formatting

This commit is contained in:
admin 2026-01-26 17:04:52 -07:00
parent 114f59b0fd
commit ea575eb336

View file

@ -111,18 +111,22 @@ services:
ports:
- "8000:8000/tcp"
environment:
- TZ=America/Edmonton
- PERIOD=5m
# --- NEW IP DISCOVERY SETTINGS ---
- PUBLICIP_FETCHERS=http # Use web services to find your IP
- PUBLICIP_HTTP_PROVIDERS=all # Use any available service (ipify, etc.)
# ---------------------------------
# The Variable Injection
# Format: provider, host, username, password
# For deSEC: username IS the domain name.
# CONFIGURATION (Must be JSON format)
- CONFIG='{"settings": [{"provider": "desec", "domain": "${DESEC_DOMAIN}", "host": "@", "password": "${DESEC_TOKEN}", "ip_version": "ipv4"}]}'
TZ: America/Edmonton
PERIOD: 5m
PUBLICIP_FETCHERS: http
PUBLICIP_HTTP_PROVIDERS: all
CONFIG: >-
{
"settings": [
{
"provider": "desec",
"domain": "${DESEC_DOMAIN}",
"host": "@",
"password": "${DESEC_TOKEN}",
"ip_version": "ipv4"
}
]
}
volumes:
- /docker/core/ddns:/updater/data