forked from miloszlagan/husarnet_bisect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
48 lines (33 loc) · 858 Bytes
/
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
services:
iperf-server:
image: networkstatic/iperf3:latest
restart: unless-stopped
command: -s
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
husarnet-server:
image: husarnet:${HUSARNET_VERSION}
restart: unless-stopped
volumes:
- ./husarnet-server:/var/lib/husarnet
cap_add:
- NET_ADMIN
environment:
- HUSARNET_DEBUG=1
network_mode: service:iperf-server
iperf-client:
image: networkstatic/iperf3:latest
restart: unless-stopped
entrypoint: sleep infinity
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
husarnet-client:
image: husarnet:${HUSARNET_VERSION}
restart: unless-stopped
volumes:
- ./husarnet-client:/var/lib/husarnet
cap_add:
- NET_ADMIN
environment:
- HUSARNET_DEBUG=1
network_mode: service:iperf-client