-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (66 loc) · 1.25 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: "3.7"
services:
api:
build:
context: ./api
target: prod
ports:
- 3000:3000
environment:
- ENV
- LAMBDA_TASK_ROOT
- AWS_EXECUTION_ENV
- SERVER_PORT
- ENABLE_CORS
- DATABASE_HOST
- DATABASE_PORT
- MONGODB_URL
- REDIS_HOST
- REDIS_PORT
- REDIS_PASSWORD
- COGNITO_POOL_ID
client:
build:
context: ./front
target: prod
ports:
- 80:80
environment:
- ENV
graph-db:
image: tianon/true
restart: "no"
depends_on:
- ratel
- alpha
- zero
mongo-db:
image: mongo:latest
ports:
- 27017:27017
redis:
image: "redis:alpine"
command: redis-server --requirepass $REDIS_PASSWORD
ports:
- "6379:6379"
environment:
- REDIS_PASSWORD
zero:
image: dgraph/dgraph:v20.03.0
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
alpha:
image: dgraph/dgraph:v20.03.0
ports:
- 8070:8080
- 9080:9080
restart: on-failure
command: dgraph alpha --my=alpha:7080 --lru_mb=2048 --zero=zero:5080
ratel:
image: dgraph/dgraph:v20.03.0
ports:
- 8000:8000
command: dgraph-ratel