Switched to nginx for doh

master
Meliurwen 3 years ago
parent 40472ae6f7
commit af961b6f84
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 20
      docker-compose.yml

@ -33,18 +33,22 @@ services:
- ./volumes/unbound/etc/unbound:/opt/unbound/etc/unbound
dnscrypt-server-doh:
image: satishweb/doh-server:latest
build:
context: nginx/.
args:
- IMAGE=${NGINX_IMG:-nginx}
- TAG=${NGINX_TAG:-alpine}
container_name: dnscrypt-server-doh
restart: ${NGINX_RESTART:-unless-stopped}
expose:
- 8080
environment:
- DEBUG=0
- UPSTREAM_DNS_SERVER=udp:unbound:53
- UPSTREAM_DNS_ADDR=unbound
- UPSTREAM_DNS_PORT=53
- DOH_HTTP_PREFIX=/dns-query
- DOH_SERVER_LISTEN=0.0.0.0:8053
- DOH_SERVER_TIMEOUT=10
- DOH_SERVER_TRIES=3
- DOH_SERVER_VERBOSE=true
- DOH_LISTEN_PORT=8080
- VIRTUAL_HOST=doh.dns.eracolatore.tk
- VIRTUAL_PORT=8053
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=doh.dns.eracolatore.tk
- LETSENCRYPT_EMAIL=meliurwen+letsencrypt@gmail.com

Loading…
Cancel
Save