-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (62 loc) · 1.32 KB
/
Copy pathdocker-compose.yml
File metadata and controls
67 lines (62 loc) · 1.32 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3.9"
services:
exit1:
build: .
container_name: meshproxy-exit1
command:
- "/usr/local/bin/meshproxy"
- "-config"
- "/app/config.yaml"
- "-mode"
- "relay+exit"
- "-socks5"
- "0.0.0.0:1080"
- "-api"
- "0.0.0.0:19080"
ports:
- "1080:1080" # SOCKS5
- "19080:19080" # API
- "4001:4001" # P2P (from config.example.yaml)
networks:
- meshnet
relay1:
build: .
container_name: meshproxy-relay1
command:
- "/usr/local/bin/meshproxy"
- "-config"
- "/app/config.yaml"
- "-mode"
- "relay"
- "-socks5"
- "0.0.0.0:1080"
- "-api"
- "0.0.0.0:19080"
ports:
- "1081:1080" # SOCKS5 for relay1
- "19081:19080" # API for relay1
- "4002:4001" # P2P for relay1
networks:
- meshnet
relay2:
build: .
container_name: meshproxy-relay2
command:
- "/usr/local/bin/meshproxy"
- "-config"
- "/app/config.yaml"
- "-mode"
- "relay"
- "-socks5"
- "0.0.0.0:1080"
- "-api"
- "0.0.0.0:19080"
ports:
- "1082:1080" # SOCKS5 for relay2
- "19082:19080" # API for relay2
- "4003:4001" # P2P for relay2
networks:
- meshnet
networks:
meshnet:
driver: bridge