-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod.docker-compose.yml
More file actions
39 lines (36 loc) · 848 Bytes
/
prod.docker-compose.yml
File metadata and controls
39 lines (36 loc) · 848 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
version: "3.2"
services:
zero:
image: dgraph/dgraph:latest
volumes:
- ./data:/dgraph
restart: on-failure
command: dgraph zero --my=zero:5080
networks:
- dgraph
alpha:
image: dgraph/dgraph:latest
privileged: true
volumes:
- ./data:/dgraph
ports:
- "8080:8080"
- "9080:9080"
restart: on-failure
command: dgraph alpha --my=alpha:7080 --zero=zero:5080 --security "whitelist=0.0.0.0/0" --lambda "docker-image=ghcr.io/schartey/dgraph-lambda-example:main; docker-registry=https://ghcr.io/;"
networks:
- dgraph
ratel:
image: dgraph/dgraph:v20.11.3
volumes:
- /tmp/data:/dgraph
ports:
- "8000:8000"
restart: on-failure
command: dgraph-ratel
networks:
- dgraph
networks:
dgraph:
driver: bridge
name: dgraph