-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 968 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
version: '3.2'
services:
zero:
image: 'dgraph/dgraph:latest'
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- '5080:5080'
- '6080:6080'
restart: on-failure
command: 'dgraph zero --bindall=true --my=zero:5080'
alpha:
image: 'dgraph/dgraph:latest'
depends_on:
- zero
volumes:
- './${pwd}/service:/dgraph/service'
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 8080:8080
- 7080:7080
- 9080:9080
tty: true
restart: on-failure
command: 'bash ./service/bulk-it-or-not-bulk-it.sh'
ratel:
image: 'dgraph/dgraph:latest'
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 8000:8000
command: dgraph-ratel
volumes:
dgraph:
driver: local