-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 985 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (42 loc) · 985 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
services:
backend:
build:
context: ./backend
command: uv run uvicorn backend.main:app --host 0.0.0.0 --port 8000 --reload
ports:
- "8000:8000"
volumes:
- ./backend/src:/app/src
- backend_venv:/app/.venv
env_file:
- ./backend/.env
mcp:
build:
context: ./mcp
command: uv run uvicorn mcp_service.main:app --host 0.0.0.0 --port 8080 --reload
ports:
- "8080:8080"
volumes:
- ./mcp/src:/app/src
- mcp_venv:/app/.venv
env_file:
- ./mcp/.env
frontend:
image: node:20-alpine
working_dir: /app
command: sh -c "npm install && npm run dev"
ports:
- "3000:3000"
volumes:
- ./frontend:/app
- frontend_node_modules:/app/node_modules
env_file:
- ./frontend/.env.local
environment:
- HOSTNAME=0.0.0.0
- BACKEND_URL=http://backend:8000
- MCP_URL=http://mcp:8080
volumes:
backend_venv:
mcp_venv:
frontend_node_modules: