forked from dzervas/powerdns-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dist.yml
62 lines (58 loc) · 1.46 KB
/
docker-compose.dist.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
54
55
56
57
58
59
60
61
62
version: "2"
services:
master:
build: powerdns
image: powerdns
restart: always
# external_links:
# - openldap_app_1:ldap
ports:
- "53:5353"
- "53:5353/udp"
- "8040:8080"
volumes:
- "database:/etc/pdns/run/sqlite3"
environment:
# CONFIG: "ldap_binddn,ldap_secret,ldap_basedn,webserver"
CONFIG: "webserver"
PDNS_BACKENDS: "gsqlite3"
API_KEY: "1234"
WEBSERVER_PASSWORD: "1234"
# ldap_binddn: "xxx"
# ldap_secret: "xxx"
# ldap_basedn: "xxx"
webserver: "yes"
# logging:
# options:
# max-size: 25k
# networks:
# - openldap_default
admin:
build: padmin
image: pdns_admin
# external_links:
# - openldap_app_1:ldap
depends_on:
- master
volumes:
- "admin:/data"
ports:
- "8080:8080"
environment:
API_KEY: "1234"
SECRET_KEY: "1234"
ADMIN_PASSWORD: "1234"
# LDAP_TYPE: ldap
# LDAP_USERNAME: "111"
# LDAP_PASSWORD: "111"
# LDAP_SEARCH_BASE: "111"
networks:
# - openldap_default
volumes:
database:
driver: local
admin:
driver: local
# networks:
# openldap_default:
# external: true