e82621e153
add initial version of docker setup add configuration via environment variables remove override file support docker-compose.override.yml add up2date pdns container
9 lines
No EOL
267 B
Bash
9 lines
No EOL
267 B
Bash
#!/usr/bin/env bash
|
|
|
|
CONFIG_FILE=/etc/powerdns/pdns.conf
|
|
|
|
sed -i 's/{{DDNS_DOMAIN}}/'"${DDNS_DOMAIN}"'/g' ${CONFIG_FILE}
|
|
sed -i 's/{{DDNS_SOA_DOMAIN}}/'"${DDNS_SOA_DOMAIN}"'/g' ${CONFIG_FILE}
|
|
sed -i 's/{{DDNS_VERBOSE}}/'"${DDNS_VERBOSE}"'/g' ${CONFIG_FILE}
|
|
|
|
exec "$@" |