|
@ -1,6 +1,8 @@ |
|
|
|
|
|
version: "2.1" |
|
|
|
|
|
services: |
|
|
pdns: |
|
|
pdns: |
|
|
#build: pdns |
|
|
build: pdns |
|
|
image: interlegis/powerdns:4.4.0 |
|
|
#image: interlegis/powerdns:4.4.0 |
|
|
links: |
|
|
links: |
|
|
- "mysql:mysql" |
|
|
- "mysql:mysql" |
|
|
ports: |
|
|
ports: |
|
@ -11,9 +13,12 @@ pdns: |
|
|
- PDNSCONF_API_KEY=a_strong_api_key |
|
|
- PDNSCONF_API_KEY=a_strong_api_key |
|
|
- PDNSCONF_DNSUPDATE=yes |
|
|
- PDNSCONF_DNSUPDATE=yes |
|
|
- SECALLZONES_CRONJOB=yes |
|
|
- SECALLZONES_CRONJOB=yes |
|
|
|
|
|
- PDNSCONF_GMYSQL_USER=pdns |
|
|
|
|
|
- PDNSCONF_GMYSQL_DBNAME=pdns |
|
|
|
|
|
- PDNSCONF_GMYSQL_PASSWORD=pdnspw |
|
|
|
|
|
|
|
|
mysql: |
|
|
mysql: |
|
|
image: bitnami/mariadb:10.1.14-r3 |
|
|
image: bitnami/mariadb:10.7.4-debian-11-r1 |
|
|
environment: |
|
|
environment: |
|
|
- MARIADB_ROOT_PASSWORD=mysqlrootpw |
|
|
- MARIADB_ROOT_PASSWORD=mysqlrootpw |
|
|
- MARIADB_REPLICATION_MODE=master |
|
|
- MARIADB_REPLICATION_MODE=master |
|
@ -26,3 +31,7 @@ mysql: |
|
|
- dnsmasterdb:/bitnami/mariadb |
|
|
- dnsmasterdb:/bitnami/mariadb |
|
|
ports: |
|
|
ports: |
|
|
- 3306:3306 |
|
|
- 3306:3306 |
|
|
|
|
|
|
|
|
|
|
|
volumes: |
|
|
|
|
|
dnsmasterdb: |
|
|
|
|
|
driver: local |
|
|