switch json block in env to be map syntax for formatting
This commit is contained in:
parent
114f59b0fd
commit
ea575eb336
1 changed files with 16 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue