From 7dc4ded6cd513f33636cd9b51b3a2f0889fb803e Mon Sep 17 00:00:00 2001 From: dalbodeule <11470513+dalbodeule@users.noreply.github.com> Date: Wed, 5 Jun 2024 10:27:55 +0900 Subject: [PATCH] docker compose update with pdns slave --- docker-compose.slave.yml | 5 +++-- inc.env | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.slave.yml b/docker-compose.slave.yml index 15e17b8..56b3541 100644 --- a/docker-compose.slave.yml +++ b/docker-compose.slave.yml @@ -17,7 +17,7 @@ services: pdns: image: pschiffe/pdns-mysql:latest - container_name: pdns-master + container_name: pdns-slave environment: PDNS_gmysql_host: mariadb PDNS_gmysql_port: 3306 @@ -25,7 +25,8 @@ services: PDNS_gmysql_password: ${MARIADB_PASSWORD} PDNS_gmysql_dbname: ${MARIADB_DATABASE} PDNS_gmysql-dnssec: true - PDNS_primary: yes + PDNS_slave: yes + PDNS_master: ${MASTER_PDNS_IP} PDNS_api: yes PDNS_api_key: ${PDNS_API_KEY} PDNS_webserver: yes diff --git a/inc.env b/inc.env index c33b249..3025dd8 100644 --- a/inc.env +++ b/inc.env @@ -11,4 +11,6 @@ MARIADB_PASSWORD= PDNS_API_KEY= PDNS_WEBSERVER_KEY= -PDNS_VERSION_STRING= \ No newline at end of file +PDNS_VERSION_STRING= +MASTER_PDNS_IP= +MASTER_PDNS_API_KEY= \ No newline at end of file