blob: 1b4f81c5b15b0bf422015b142831369d3345c565 (
plain) (
blame)
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
|
version: "3"
services:
doh-server:
image: satishweb/doh-server
networks:
- dohnet
ports:
- "127.0.0.1:8053:8053"
restart: unless-stopped
environment:
- DEBUG="0"
- UPSTREAM_DNS_SERVER=udp:208.67.222.222:53
- DOH_HTTP_PREFIX=/getnsrecord
- DOH_SERVER_LISTEN=:8053
- DOH_SERVER_TIMEOUT=10
- DOH_SERVER_TRIES=3
- DOH_SERVER_VERBOSE=true
depends_on:
- nginx
nginx:
image: nginx:stable
ports:
- "443:443"
networks:
- dohnet
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- CHOWN
- DAC_OVERRIDE
- SETGID
- SETUID
- NET_BIND_SERVICE
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- /etc/letsencrypt/archive/doh.terminaldweller.com/:/certs/:ro
networks:
dohnet:
|