-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (56 loc) · 1.23 KB
/
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
54
55
56
57
58
59
version: '3'
services:
dns-server:
build:
context: ./dns-server/
args:
http_proxy:
https_proxy:
ports:
- "${DNS_SERVER_BIND_IP:-127.0.0.1}:53:53"
- "${DNS_SERVER_BIND_IP:-127.0.0.1}:53:53/udp"
environment:
resolution_ip: "${FORWARDING_SERVER_BIND_IP:-127.2.3.4}"
no_proxy_domains: "${NO_PROXY_DOMAINS:-intra.example.com intra.example.net}"
dns:
- ${ORIGINAL_DNS_SERVER_IP}
restart: always
logging:
driver: "json-file"
options:
max-size: "10mb"
max-file: "3"
http-server:
build:
context: ./http-server/
args:
http_proxy:
https_proxy:
ports:
- "${FORWARDING_SERVER_BIND_IP:-127.2.3.4}:80:80"
environment:
TZ:
http_proxy:
restart: always
logging:
driver: "json-file"
options:
max-size: "10mb"
max-file: "3"
https-server:
build:
context: ./https-server/
args:
http_proxy:
https_proxy:
ports:
- "${FORWARDING_SERVER_BIND_IP:-127.2.3.4}:443:443"
environment:
TZ:
https_proxy:
restart: always
logging:
driver: "json-file"
options:
max-size: "10mb"
max-file: "3"