diff --git a/powerdns/docker-compose.yml b/powerdns/docker-compose.yml index 386bba9..a19530f 100644 --- a/powerdns/docker-compose.yml +++ b/powerdns/docker-compose.yml @@ -10,6 +10,7 @@ services: - MYSQL_PASSWORD=${MYSQL_PASSWORD:-StrongPasswordHere} volumes: - ${DB_VOLUME:-db_data}:/var/lib/mysql + - ./initdb:/docker-entrypoint-initdb.d # <‑‑ Schema wird automatisch eingespielt pdns: image: powerdns/pdns-auth-master:${PDNS_VERSION:-latest} @@ -39,6 +40,9 @@ services: image: powerdnsadmin/pda-legacy:${PDA_VERSION:-latest} container_name: ${PDA_CONTAINER_NAME:-pdns-admin} restart: always + depends_on: + - pdns + - db ports: - "${PDA_PORT:-9191}:80" environment: