Created
December 23, 2017 02:23
-
-
Save json-m/215860facc694c2943646ecf2ec56874 to your computer and use it in GitHub Desktop.
powerdns compose file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdns: | |
image: secns/pdns | |
links: | |
- "pdnsdb:db" | |
ports: | |
- "53:53" | |
- "53:53/udp" | |
dns: 9.9.9.9 | |
environment: | |
- PDNS_ALLOW_AXFR_IPS=127.0.0.1 | |
- PDNS_DISTRIBUTOR_THREADS=3 | |
- PDNS_CACHE_TTL=20 | |
- PDNS_RECURSIVE_CACHE_TTL=1 | |
- PDNS_MASTER=yes | |
- VIRTUAL_HOST=x.ns.xax.li | |
pdnsdb: | |
image: mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=password1 | |
volumes: | |
- /mnt/pdns-mysql/:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment