-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.06 KB
/
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
50
version: "3.2"
volumes:
cooperativ_dgraph:
services:
frontend:
build:
context: .
dockerfile: ./Dockerfile
ports:
- 3000:3000
volumes:
- .:/app
- /app/node_modules
zero:
image: dgraph/dgraph:latest
volumes:
- cooperativ_dgraph:/dgraph
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
alpha:
image: dgraph/dgraph:latest
volumes:
- cooperativ_dgraph:/dgraph
- ./fixtures:/dgraph/fixtures
ports:
- 8080:8080
- 9080:9080
restart: on-failure
command: dgraph alpha --security whitelist=0.0.0.0/0 --my=alpha:7080 --zero=zero:5080
# environment:
# DGRAPH_ALPHA_GRAPHQL: "lambda-url=http://dgraph_lambda:8686/graphql-worker"
ratel:
image: fenos/ratel-ui:latest
ports:
- 8000:8000
# dgraph_lambda:
# image: dgraph/dgraph-lambda:latest
# ports:
# - "8686:8686"
# environment:
# DGRAPH_URL: http://dgraph:8080
# volumes:
# - ./gql/script.js:/dgraph/script/script.js