-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 873 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 873 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
version: "3.8"
services:
server:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./backend:/app
- ./Model:/app/Model # mount Model at runtime
env_file:
- .env
depends_on:
- agent
agent:
build:
context: ./backend/agent
dockerfile: Dockerfile
ports:
- "8001:8001"
volumes:
- ./backend/agent:/app
- ./Model:/app/Model
env_file:
- .env
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./frontend:/app
- /app/node_modules
environment:
CHOKIDAR_USEPOLLING: "true"
REACT_APP_DATA_BACKEND_URL: "http://localhost:8000"
REACT_APP_AI_BACKEND_URL: "http://localhost:8001"
depends_on:
- server
- agent