diff --git a/powerdns/docker-compose.yml b/powerdns/docker-compose.yml index 2eae8b8..4cda762 100644 --- a/powerdns/docker-compose.yml +++ b/powerdns/docker-compose.yml @@ -35,6 +35,21 @@ services: volumes: - ${PDNS_VOLUME:-pdns_data}:/etc/powerdns + pda: + image: powerdnsadmin/pda-legacy:${PDA_VERSION:-latest} + container_name: ${PDA_CONTAINER_NAME:-pdns-admin} + restart: always + ports: + - "${PDA_PORT:-9191}:80" + environment: + - SECRET_KEY=${PDA_SECRET_KEY:-changemeplease} + - SQLALCHEMY_DATABASE_URI=${PDA_DB_URI:-mysql+pymysql://pdns:StrongPasswordHere@db/pdns} + - POWERDNS_API_URL=${PDA_API_URL:-http://pdns:8081} + - POWERDNS_API_KEY=${PDNS_API_KEY:-SuperSecretAPIKey} + volumes: + - ${PDA_VOLUME:-pda_data}:/data + volumes: db_data: pdns_data: + pda_data: