Add docker secrets support

This commit is contained in:
Benjamin Bässler
2020-03-26 22:32:29 +01:00
committed by Benjamin Baessler
parent c581ad27f3
commit 6ea19cfd6e
3 changed files with 48 additions and 15 deletions

View File

@ -50,13 +50,14 @@ $ docker run --name pdns \
* `MYSQL_PASS=root`
* `MYSQL_DB=pdns`
* `MYSQL_DNSSEC=no`
* To support docker secrets, use same variables as above with suffix `_FILE`.
* Want to disable mysql initialization? Use `MYSQL_AUTOCONF=false`
* DNSSEC is disabled by default, to enable use `MYSQL_DNSSEC=yes`
* Want to use own config files? Mount a Volume to `/etc/pdns/conf.d` or simply overwrite `/etc/pdns/pdns.conf`
**PowerDNS Configuration:**
Append the PowerDNS setting to the command as shown in the example above.
Append the PowerDNS setting to the command as shown in the example above.
See `docker run --rm psitrax/powerdns --help`