-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (53 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
55 lines (53 loc) · 1.21 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
services:
web:
build:
context: .
dockerfile: Dockerfile.web
ports:
- "3000:3000"
depends_on:
- agent
env_file:
- .env
environment:
PORT: ${PORT:-3000}
AGENT_HTTP_URL: http://agent:4001
volumes:
- ./data:/app/standalone/app/data
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:3000/api/health"]
interval: 10s
timeout: 3s
retries: 5
start_period: 10s
restart: unless-stopped
agent:
image: freya-1-agent
build:
context: .
dockerfile: Dockerfile.agent
ports:
- "${AGENT_PORT:-4001}:4001"
env_file:
- .env
environment:
PORT: ${AGENT_PORT:-4001}
volumes:
- ./data:/workspace/data
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:4001/health"]
interval: 10s
timeout: 3s
retries: 5
start_period: 10s
restart: unless-stopped
agent-voice:
image: freya-1-agent
depends_on:
- agent
env_file:
- .env
environment:
PORT: ${AGENT_PORT:-4001}
command: ["sh", "-c", "node dist/livekit-agent.js download-files && node dist/livekit-agent.js start"]
restart: unless-stopped