-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (57 loc) · 1.31 KB
/
docker-compose.yml
File metadata and controls
60 lines (57 loc) · 1.31 KB
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
57
58
59
60
version: '3.3'
services:
# DGraph
# From: https://github.com/dgraph-io/dgraph/blob/master/contrib/config/docker/docker-compose.yml
zero:
image: dgraph/dgraph:latest
volumes:
- /tmp/data:/dgraph
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
logging:
driver: none
alpha:
image: dgraph/dgraph:latest
volumes:
- /tmp/data:/dgraph
ports:
- 8080:8080
- 9080:9080
restart: on-failure
command: dgraph alpha --my=alpha:7080 --zero=zero:5080
logging:
driver: none
ratel:
image: dgraph/dgraph:latest
ports:
- 8000:8000
command: dgraph-ratel
logging:
driver: none
# Orchestrator (former `qmstr-master`)
master:
image: endocodeci/qmstr-master:sha-6f14b29
entrypoint: "/usr/local/bin/qmstr-master"
command: "--config /home/qmstr/config/qmstr.yaml"
depends_on:
- zero
- alpha
- ratel
ports:
- 50051:50051
environment:
SERVER_BUILDPATH: "/var/qmstr/buildroot"
volumes:
- ./qmstr-config.yaml:/home/qmstr/config/qmstr.yaml
# Module
module:
image: endocodeci/module
working_dir: /home/module
volumes:
- ./reach.sh:/home/module/reach.sh
entrypoint: ./reach.sh
depends_on:
- master