-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (47 loc) · 1.09 KB
/
docker-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
49
50
version: '3'
services:
interlocking_bridge:
platform: linux/amd64
image: ghcr.io/eulynx-live/librasta/rasta_grpc_bridge_udp:main
command:
- /var/rasta.cfg
- 0.0.0.0:4242
- "172.24.0.3"
- "9998"
- "172.24.0.3"
- "9999"
- "97"
- "96"
- "172.24.0.1:50001"
volumes:
- ./config/rasta_interlocking.cfg:/var/rasta.cfg:ro
networks:
bridge_net:
ipv4_address: 172.24.0.2
oc_bridge:
platform: linux/amd64
depends_on: [interlocking_bridge]
image: ghcr.io/eulynx-live/librasta/rasta_grpc_bridge_udp:main
command:
- /var/rasta.cfg
- 0.0.0.0:50002
- "172.24.0.2"
- "8888"
- "172.24.0.2"
- "8889"
- "96"
- "97"
ports:
- 50002:50002
volumes:
- ./config/rasta_oc.cfg:/var/rasta.cfg:ro
networks:
bridge_net:
ipv4_address: 172.24.0.3
networks:
bridge_net:
driver: bridge
ipam:
config:
- subnet: 172.24.0.0/16
gateway: 172.24.0.1