-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (50 loc) · 1.14 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
version: '3.3'
services:
mariadb:
image: mariadb:10.3
volumes:
- mariadb_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: powerdns
MYSQL_USER: powerdns
MYSQL_PASSWORD: powerdns
powerdns:
depends_on:
- mariadb
image: psitrax/powerdns:4.1
ports:
- "8053:53"
- "8053:53/udp"
- "8080:80"
links:
- mariadb
volumes:
- ./scripts/init_docker_fixtures.sh:/init_docker_fixtures.sh:ro
restart: always
environment:
MYSQL_HOST: mariadb
MYSQL_DB: powerdns
MYSQL_USER: powerdns
MYSQL_PASS: powerdns
command: [
"--webserver=yes",
"--webserver-address=0.0.0.0",
"--webserver-port=80",
"--webserver-password=webserverpw",
"--webserver-allow-from=0.0.0.0/0",
"--api=yes",
"--api-key=apipw",
"--api-readonly=no",
"--disable-syslog=yes",
"--loglevel=9",
"--log-dns-queries=yes",
"--log-dns-details=yes",
"--query-logging=yes",
"--default-soa-edit=INCEPTION-INCREMENT",
"--gmysql-dnssec=yes"
]
volumes:
mariadb_data: