-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
52 lines (52 loc) · 1.11 KB
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
version: "3.4"
services:
doh-server:
image: dnsoverhttpsdev/doh-server:latest
volumes:
- ./doh-server:/etc/doh-server
depends_on:
- bind9
restart: always
networks:
dns:
ipv4_address: 10.40.0.10
bind9:
image: resystit/bind9:latest
volumes:
- ./bind9/named.conf:/etc/bind/named.conf
- ./bind9/zones:/etc/bind/zones
- ./bind9/named.conf.local:/etc/bind/named.conf.local
- ./bind9/named.conf.options:/etc/bind/named.conf.options
- bind9:/etc/bind
restart: always
networks:
dns:
ipv4_address: 10.40.0.30
ports:
- "53:53/udp"
- "53:53/tcp"
nginx:
image: nginx:1.15.9-alpine
volumes:
- ./nginx:/etc/nginx:rw
- /etc/letsencrypt:/etc/letsencrypt
- ./dhparam:/etc/dhparam
- ./webroot:/var/www/webroot
depends_on:
- doh-server
restart: always
networks:
dns:
ipv4_address: 10.40.0.40
ports:
- "80:80"
- "443:443"
- "853:853"
volumes:
bind9:
networks:
dns:
driver: bridge
ipam:
config:
- subnet: 10.40.0.0/16