forked from ANSSI-FR/lidi
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 801 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 801 Bytes
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
version: '3'
networks:
diode_net:
driver: bridge
ipam:
config:
- subnet: 172.16.0.0/16
gateway: 172.16.0.1
services:
send:
image: diode:send
build:
context: .
dockerfile: Dockerfile
target: send
networks:
diode_net:
ipv4_address: 172.16.0.2
ports:
- "5000:5000"
command:
- "--from-tcp"
- "172.16.0.2:5000"
- "--to"
- "172.16.0.3"
- "--to-ports"
- "6000"
receive:
image: diode:receive
build:
context: .
dockerfile: Dockerfile
target: receive
networks:
diode_net:
ipv4_address: 172.16.0.3
command:
- "--from"
- "172.16.0.3"
- "--from-ports"
- "6000"
- "--to-tcp"
- "172.16.0.1:7000"