mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
Updated version of the compose file.
New image names, Port allocation.
This commit is contained in:
parent
7bceb1262f
commit
71faaf4d17
50
docker/docker-compose.yml
Normal file
50
docker/docker-compose.yml
Normal file
@ -0,0 +1,50 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
powerdns-authoritative:
|
||||
image: powerdns-mysql
|
||||
hostname: powerdns-authoritative
|
||||
depends_on:
|
||||
- powerdns-authoritative-mariadb
|
||||
links:
|
||||
- powerdns-authoritative-mariadb:mysqldb
|
||||
ports:
|
||||
- 5553:53/udp
|
||||
- 8081:8081
|
||||
environment:
|
||||
- PDNS_DB_HOST=mysqldb
|
||||
- PDNS_DB_USERNAME=root
|
||||
- PDNS_DB_NAME=powerdns
|
||||
- PDNS_DB_PASSWORD=PowerDNSPassword
|
||||
- PDNS_API_KEY=PowerDNSAPIKey
|
||||
|
||||
powerdns-authoritative-mariadb:
|
||||
image: mariadb:10.1.15
|
||||
hostname: powerdns-authoritative-mariadb
|
||||
environment:
|
||||
- MYSQL_DATABASE=powerdns
|
||||
- MYSQL_ROOT_PASSWORD=PowerDNSPassword
|
||||
|
||||
powerdns-admin:
|
||||
image: powerdns-admin
|
||||
hostname: powerdns-admin
|
||||
depends_on:
|
||||
- powerdns-admin-mariadb
|
||||
- powerdns-authoritative
|
||||
links:
|
||||
- powerdns-admin-mariadb:mysqldb
|
||||
- powerdns-authoritative:powerdns-server
|
||||
volumes:
|
||||
- ../:/home/web/powerdns-admin
|
||||
ports:
|
||||
- 9393:9393
|
||||
environment:
|
||||
- WAITFOR_DB=60
|
||||
|
||||
powerdns-admin-mariadb:
|
||||
image: mariadb:10.1.15
|
||||
hostname: powerdns-admin-mariadb
|
||||
environment:
|
||||
- MYSQL_DATABASE=powerdns-admin
|
||||
- MYSQL_ROOT_PASSWORD=PowerDNSAdminPassword
|
Loading…
Reference in New Issue
Block a user