-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
53 lines (46 loc) · 980 Bytes
/
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: '2.1'
services:
admin:
build: admin
depends_on:
- admin-db
ports:
- "80:3031"
admin-db:
image: postgres:12.1-alpine
environment:
- POSTGRES_DB=pda
- POSTGRES_INITDB_ARGS=--data-checksums
- POSTGRES_PASSWORD=pda
- POSTGRES_USER=pda
authoritative:
build: authoritative
depends_on:
- authoritative-db
ports:
- "1053:53/tcp"
- "1053:53/udp"
authoritative-db:
image: postgres:12.1-alpine
environment:
- POSTGRES_DB=pdns
- POSTGRES_INITDB_ARGS=--data-checksums
- POSTGRES_PASSWORD=pdns
- POSTGRES_USER=pdns
dnsdist:
build: dnsdist
environment:
- DNSDIST_PLAIN=yes
- DNSDIST_QUIET=no
ports:
- "2053:53/tcp"
- "2053:53/udp"
recursor:
build: recursor
environment:
- RECURSOR_QUIET=false
sysctls:
- net.ipv6.route.max_size=16384
ports:
- "3053:53/tcp"
- "3053:53/udp"