-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
62 lines (60 loc) · 1.18 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
60
61
62
---
version: '3.2'
services:
dns:
build:
context: docker
dockerfile: dnsmasq.Dockerfile
volumes:
- /etc/resolv.conf:/etc/resolv.conf
- type: bind
source: ./docker/conf/local.dns.conf
target: /etc/dnsmasq.d/00-local.conf
networks:
dns:
ipv4_address: "172.0.0.10"
socks:
build:
context: docker
dockerfile: socks.Dockerfile
volumes:
- type: bind
source: ./docker/conf/sshd_config
target: /etc/ssh/sshd_config
ports:
- "2080:2080"
networks:
- dns
dns:
- 172.0.0.10
depends_on:
- dns
ezproxy:
build:
context: docker
dockerfile: ezproxy.Dockerfile
command: /ezproxy.entrypoint.sh
volumes:
- type: bind
source: ./docker/ezproxy-local
target: /usr/local/ezproxy
- type: bind
source: ./expert
target: /opt/ezproxy/expert
ports:
- "2048:2048"
- "2443:2443"
env_file:
- '.env'
networks:
dns:
ipv4_address: "172.0.0.11"
dns:
- 172.0.0.10
depends_on:
- socks
networks:
dns:
ipam:
config:
- subnet: 172.0.0.0/24