-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.15 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
55
56
57
58
59
60
name: proxy-control-${DOCKER_PROJECT_SUFFIX:-default}
services:
ragmcp:
build:
context: ./mcp/ragMCP
dockerfile: Dockerfile
ports:
- "8080:8080"
networks:
- app-network
volumes:
- ./mcp/ragMCP:/app
stdin_open: true
tty: true
command: ["python", "main.py"]
env_file:
- .env
environment:
- SECRETS_INI_FILE=/app/secrets.ini
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8001:8001"
networks:
- app-network
volumes:
- ./backend:/app
stdin_open: true
tty: true
depends_on:
- ragmcp
env_file:
- ./backend/.env
environment:
- RAGMCP_URL=http://ragmcp:8080
- PYTHONUNBUFFERED=1
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001", "--reload"]
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "5173:5173"
networks:
- app-network
stdin_open: true
tty: true
depends_on:
- backend
environment:
- VITE_WS_URL=ws://localhost:8001/ws/agent
networks:
app-network:
driver: bridge