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