-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (74 loc) · 1.89 KB
/
docker-compose.yml
File metadata and controls
79 lines (74 loc) · 1.89 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
services:
editor:
build:
context: ./engine
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./.gabber:/app/.gabber
- ./.secret:/app/.secret
command: ["uv", "run", "gabber/main.py", "editor"]
environment:
- GABBER_SECRET_FILE=.secret
- GABBER_REPOSITORY_DIR=.gabber
repository:
build:
context: ./engine
dockerfile: Dockerfile
ports:
- "8001:8001"
volumes:
- ./.gabber:/app/.gabber
- ./.secret:/app/.secret
command: ["uv", "run", "gabber/main.py", "repository"]
environment:
- GABBER_SECRET_FILE=.secret
- GABBER_REPOSITORY_DIR=.gabber
- LIVEKIT_URL=ws://livekit:7880
- GABBER_PUBLIC_HOST=${GABBER_PUBLIC_HOST:-localhost}
engine:
depends_on:
- livekit
build:
context: ./engine
dockerfile: Dockerfile
volumes:
- ./.gabber:/app/.gabber
- ./.secret:/app/.secret
command: ["uv", "run", "gabber/main.py", "engine"]
environment:
- GABBER_SECRET_FILE=.secret
- GABBER_REPOSITORY_DIR=.gabber
- LIVEKIT_URL=ws://livekit:7880
- LOCAL_LLM_HOST=host.docker.internal
- KITTEN_TTS_HOST=kitten_tts
extra_hosts:
- "host.docker.internal:host-gateway"
livekit:
image: livekit/livekit-server:latest
ports:
- "7880:7880"
- "7881:7881"
- "7882:7882/udp"
command: ["--dev", "--bind", "0.0.0.0"]
environment:
- LIVEKIT_LOG_LEVEL=INFO
frontend:
depends_on:
- editor
- repository
- engine
- livekit
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_REPOSITORY_URL=http://repository:8001
- NEXT_PUBLIC_EDITOR_URL=ws://${GABBER_PUBLIC_HOST:-localhost}:8000/ws
# kitten_tts:
# build:
# context: services/kitten-tts
# dockerfile: Dockerfile