-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (50 loc) · 937 Bytes
/
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
51
52
53
54
55
version: "3.9"
networks:
ippts-simul-backend:
driver: bridge
services:
slave_0:
build: ./slave
container_name: slave_0
environment:
PORT: 50051
SLAVEID: 0
ports:
- "50051:50051"
networks:
- ippts-simul-backend
restart: on-failure
slave_1:
build: ./slave
container_name: slave_1
environment:
PORT: 50052
SLAVEID: 1
ports:
- "50052:50052"
networks:
- ippts-simul-backend
restart: on-failure
slave_2:
build: ./slave
container_name: slave_2
environment:
PORT: 50053
SLAVEID: 2
ports:
- "50053:50053"
networks:
- ippts-simul-backend
restart: on-failure
master:
build: ./master
container_name: master
environment:
PORT: 5030
PORT_IO: 5031
networks:
- ippts-simul-backend
ports:
- "5030:5030"
- "5031:5031"
restart: on-failure