version: '2' services: postgresql: build: ./postgresql container_name: pdns-postgresql networks: pdns.internal.docker: aliases: - postgresql.pdns.internal.docker volumes: - ./data/postgresql/data:/var/lib/postgresql/data ports: - "127.0.0.1:34020:5432" env_file: - env poweradmin: build: ./poweradmin container_name: pdns-poweradmin networks: pdns.internal.docker: aliases: - poweradmin.pdns.internal.docker ports: - "127.0.0.1:34021:80" env_file: - env pdns: build: ./pdns container_name: pdns-pdns networks: pdns.internal.docker: aliases: - pdns.pdns.internal.docker ports: - "0.0.0.0:53:53/udp" - "0.0.0.0:53:53/tcp" env_file: - env pdns-recursor: build: ./pdns-recursor container_name: pdns-pdns-recursor networks: pdns.internal.docker: aliases: - pdns-recursor.pdns.internal.docker env_file: - env networks: pdns.internal.docker: