-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
53 lines (45 loc) · 1.09 KB
/
docker-compose.yaml
File metadata and controls
53 lines (45 loc) · 1.09 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
ss1:
image: $NAME:$TAG
command:
-s "-s 127.0.0.1 -p 6443 -l 1080 -b 0.0.0.0 -m aes-256-cfb -k test123 --fast-open"
-k "-r ss.example.org:6500 -l :6443 -mode fast2"
-x
expose:
- 1080
- 8123
- 7777
restart: always
ss2:
image: $NAME:$TAG
command: -s "-s 127.0.0.1 -p 6443 -l 1080 -b 0.0.0.0 -m aes-256-cfb -k test123 --fast-open" -k "-r ss.example.org:6500 -l :6443 -mode fast2" -x
expose:
- 1080
- 8123
- 7777
restart: always
ss3:
image: $NAME:$TAG
environment:
- "SS_CONFIG=-s 127.0.0.1 -p 6443 -l 1080 -b 0.0.0.0 -m aes-256-cfb -k test123 --fast-open"
- "KCP_CONFIG=-r ss.example.org:6500 -l :6443 -mode fast2"
- KCP_FLAG=true
expose:
- 1080
- 8123
- 7777
restart: always
hap:
image: ukeyboard/haproxy:alpine
volumes:
- ./haproxy:/haproxy-override
- ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
links:
- ss1
- ss2
- ss3
ports:
- "1080:1080/tcp"
- "1080:1080/udp"
- "7777:7777"
- "8123:8123"
- "10086:10086"