-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (51 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
53 lines (51 loc) · 1.36 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
services:
# FastAPI Backend
api:
build:
context: .
dockerfile: api/Dockerfile
ports:
- "8000:8000"
environment:
- LIVEKIT_URL=${LIVEKIT_URL}
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY}
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET}
- RENDER_API_KEY=${RENDER_API_KEY}
- WORKFLOW_SERVICE_ID=${WORKFLOW_SERVICE_ID:-}
- RENDER_USE_LOCAL_DEV=${RENDER_USE_LOCAL_DEV:-}
- RENDER_LOCAL_DEV_URL=http://host.docker.internal:8120
- OPENAI_API_KEY=${OPENAI_API_KEY}
volumes:
- ./api:/app/api
command: uvicorn api.main:app --host 0.0.0.0 --port 8000 --reload
# LiveKit Voice Agent
agent:
build:
context: .
dockerfile: agent/Dockerfile
environment:
- LIVEKIT_URL=${LIVEKIT_URL}
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY}
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- API_URL=http://api:8000
depends_on:
- api
volumes:
- ./agent:/app/agent
command: python agent/main.py start
# Frontend (Vite dev server)
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
ports:
- "5173:5173"
environment:
- VITE_API_URL=http://localhost:8000
depends_on:
- api
volumes:
- ./frontend:/app
- /app/node_modules
command: npm run dev -- --host 0.0.0.0