-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
56 lines (52 loc) · 1.17 KB
/
docker-compose.yaml
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
56
version: '3.0'
services:
server-0:
container_name: 'server-0'
image: plasma
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/plasma/bin/server'
command: >-
--config bin/config_8.json
--server_id 0
server-1:
container_name: 'server-1'
image: plasma
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/plasma/bin/server'
command: >-
--config bin/config_8.json
--server_id 1
server-2:
container_name: 'server-2'
image: plasma
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/plasma/bin/server'
command: >-
--config bin/config_8.json
--server_id 2
leader:
container_name: 'leader'
depends_on:
server-0:
condition: service_started
server-1:
condition: service_started
server-2:
condition: service_started
image: plasma
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/plasma/bin/leader'
command: >-
--config bin/config_8.json
--server-0 server-0:8000
--server-1 server-1:8001
--server-2 server-2:8002
-n 1000