-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (39 loc) · 902 Bytes
/
docker-compose.yaml
File metadata and controls
42 lines (39 loc) · 902 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
version: '3.0'
services:
aggregator-0:
container_name: 'aggregator-0'
image: mastic
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/mastic/bin/server'
command: >-
--config bin/${CONFIG}
--server_id 0
aggregator-1:
container_name: 'aggregator-1'
image: mastic
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/mastic/bin/server'
command: >-
--config bin/${CONFIG}
--server_id 1
driver:
container_name: 'driver'
depends_on:
aggregator-0:
condition: service_started
aggregator-1:
condition: service_started
image: mastic
build:
context: .
dockerfile: Dockerfile
entrypoint: '/opt/mastic/bin/driver'
command: >-
--config bin/${CONFIG}
--server-0 aggregator-0:8000
--server-1 aggregator-1:8001
-n 1000