mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Add PDNS_ENV_PDNS_webserver_host variable, default stays the same - pdns
This commit is contained in:
parent
683e983cf1
commit
d8214ebc7d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ fi
|
|||
export PDNS_ADMIN_SQLA_DB_HOST PDNS_ADMIN_SQLA_DB_PORT PDNS_ADMIN_SQLA_DB_USER PDNS_ADMIN_SQLA_DB_PASSWORD PDNS_ADMIN_SQLA_DB_NAME
|
||||
|
||||
# Configure pdns server env vars
|
||||
: "${PDNS_API_URL:=http://pdns:${PDNS_ENV_PDNS_webserver_port:-8081}/}"
|
||||
: "${PDNS_API_URL:=http://${PDNS_ENV_PDNS_webserver_host:-pdns}:${PDNS_ENV_PDNS_webserver_port:-8081}/}"
|
||||
: "${PDNS_API_KEY:=${PDNS_ENV_PDNS_api_key:-}}"
|
||||
: "${PDNS_VERSION:=${PDNS_ENV_VERSION:-}}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue