-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
49 lines (47 loc) · 1003 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
version: '3.2'
services:
dgraph-zero:
image: dgraph/dgraph:v1.1.0
volumes:
- type: volume
source: dgraph-data
target: /dgraph
volume:
nocopy: true
ports:
- 5080:5080
- 6080:6080
restart: always
command: dgraph zero --my=dgraph-zero:5080
dgraph-alpha:
image: dgraph/dgraph:v1.1.0
depends_on:
- dgraph-zero
volumes:
- type: volume
source: dgraph-data
target: /dgraph
volume:
nocopy: true
ports:
- 8080:8080
- 9080:9080
restart: always
command: dgraph alpha --my=dgraph-alpha:7080 --lru_mb=2048 --zero=dgraph-zero:5080
dgraph-ratel:
image: dgraph/dgraph:v1.1.0
depends_on:
- dgraph-alpha
volumes:
- type: volume
source: dgraph-data
target: /dgraph
volume:
nocopy: true
ports:
- 8000:8000
restart: always
command: dgraph-ratel
volumes:
dgraph-data:
driver: local