-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (51 loc) · 1.17 KB
/
docker-compose.yml
File metadata and controls
54 lines (51 loc) · 1.17 KB
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
services:
redis:
image: redis:7-alpine
ports:
- "${REDIS_PORT}:6379"
nfgda-service:
build:
context: ./nfgda_service
dockerfile: Dockerfile
ports:
- "8000:8000"
depends_on:
- redis
- backend
environment:
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
- REDIS_DB=${REDIS_DB}
- MAX_CONCURRENT_JOBS=${MAX_CONCURRENT_JOBS}
- MAX_NO_DATA_POLLS=${MAX_NO_DATA_POLLS}
- FILE_EXPIRATION_TIME=${FILE_EXPIRATION_TIME}
volumes:
- ./nfgda_output:/nfgda_output
- ./processed_data:/processed_data
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "5173:5173"
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8001:8001"
depends_on:
- redis
environment:
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
- REDIS_DB=${REDIS_DB}
- MAX_JOB_DURATION=${MAX_JOB_DURATION}
volumes:
- ./nfgda_output:/nfgda_output
- ./processed_data:/processed_data