Fábio Kaiser Rauber
8 years ago
2 changed files with 34 additions and 10 deletions
@ -1,17 +1,27 @@ |
|||||
pdns: |
pdns: |
||||
image: interlegis/powerdns |
#build: pdns |
||||
|
image: interlegis/powerdns:4.0.1-1 |
||||
links: |
links: |
||||
- "mysql:mysql" |
- "mysql:mysql" |
||||
ports: |
ports: |
||||
- "53:53" |
- "53:53" |
||||
- "53:53/udp" |
- "53:53/udp" |
||||
#environment: |
- "8088:8081" |
||||
# - PDNS_RECURSIVE_CACHE_TTL=10 |
environment: |
||||
|
- PDNSCONF_API_KEY=a_strong_api_key |
||||
|
- PDNSCONF_MASTER=yes |
||||
|
- PDNSCONF_DEFAULT_SOA_NAME=dnsserver.domain.com |
||||
|
- PDNSCONF_DNSUPDATE=yes |
||||
|
- SECALLZONES_CRONJOB=yes |
||||
|
|
||||
mysql: |
mysql: |
||||
image: mysql |
image: bitnami/mariadb:latest |
||||
environment: |
environment: |
||||
- MYSQL_ROOT_PASSWORD=mysqlrootpw |
- MARIADB_ROOT_PASSWORD=mysqlrootpw |
||||
- MYSQL_DATABASE=pdns |
- MARIADB_REPLICATION_MODE=master |
||||
- MYSQL_USER=pdns |
- MARIADB_REPLICATION_USER=repl_user |
||||
- MYSQL_PASSWORD=pdnspw |
- MARIADB_REPLICATION_PASSWORD=repl_password |
||||
|
- MARIADB_DATABASE=pdns |
||||
|
- MARIADB_USER=pdns |
||||
|
- MARIADB_PASSWORD=pdnspw |
||||
|
|
||||
|
Loading…
Reference in new issue