-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
54 lines (50 loc) · 1.04 KB
/
docker-compose.dev.yml
File metadata and controls
54 lines (50 loc) · 1.04 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
services:
container1:
image: archlinux
privileged: true
command: sleep infinity
volumes:
- ./wag:/usr/local/bin/wag
networks:
custom_network:
ipv4_address: 172.20.0.2
cap_add:
- NET_ADMIN
container2:
image: archlinux
privileged: true
command: sleep infinity
ports:
- "4433:4433/tcp"
- "53230:53230/udp"
- "8081:8081/tcp"
volumes:
- .:/usr/local/bin/wag:ro
- ./docker-test-config.json:/opt/config.json
networks:
custom_network:
ipv4_address: 172.20.0.3
cap_add:
- NET_ADMIN
container3:
image: archlinux
privileged: true
volumes:
- ./wag:/usr/local/bin/wag
command: sleep infinity
networks:
custom_network:
ipv4_address: 172.20.0.4
cap_add:
- NET_ADMIN
speedtest:
image: mlabbe/iperf3
networks:
custom_network:
ipv4_address: 172.20.0.5
networks:
custom_network:
ipam:
config:
- subnet: 172.20.0.0/24
gateway: 172.20.0.1