-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 920 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 920 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
40
41
42
43
44
45
46
47
services:
falkordb:
image: falkordb/falkordb:latest
ports:
- "6379:6379"
volumes:
- falkordb_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
api:
build:
context: .
dockerfile: packages/api/Dockerfile
ports:
- "${API_PORT:-3001}:3001"
environment:
- FALKORDB_HOST=falkordb
- FALKORDB_PORT=6379
- API_PORT=3001
- PROJECT_ROOT=/workspace
volumes:
- ${PROJECT_PATH:-./sample}:/workspace:ro
depends_on:
falkordb:
condition: service_healthy
profiles:
- full
web:
build:
context: .
dockerfile: packages/web/Dockerfile
ports:
- "${WEB_PORT:-3000}:3000"
environment:
- NEXT_PUBLIC_API_URL=http://localhost:3001
depends_on:
- api
profiles:
- full
volumes:
falkordb_data: