-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
82 lines (75 loc) · 1.66 KB
/
docker-compose.yaml
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
80
81
82
services:
backend:
build: ./backend
ports:
- "5001:5001"
volumes:
- ./backend:/backend
env_file: ./backend/.env
container_name: backend
depends_on:
postgresql:
condition: service_healthy
environment:
POSTGRES_URL: "postgresql:5432"
postgresql:
build: ./postgres
ports:
- 5432:5432
volumes:
- persist-volume:/var/lib/postgresql/data
env_file:
- ./backend/.env
container_name: postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U streamuser -d starstream_db"]
interval: 10s
timeout: 5s
retries: 5
frontend:
build: ./frontend
ports:
- "5173:5173"
volumes:
- ./frontend:/frontend
- /frontend/node_modules
container_name: frontend
depends_on:
- postgresql
- backend
nms:
build: ./nms
ports:
- "1935:1935"
- "8000:8000"
- "8443:8443"
env_file: ./nms/.env
volumes:
- ./nms:/nms
- ./nms/media:/nms/media:rw
- /nms/node_modules
container_name: nms
depends_on:
- whisper
whisper:
image: onerahmet/openai-whisper-asr-webservice:latest
ports:
- "9000:9000"
environment:
- ASR_MODEL=base
- ASR_ENGINE=openai_whisper
volumes:
- ./nms/model:/root/.cache/whisper
container_name: whisper
video_chat:
build: ./videochat
ports:
- "5002:5002"
volumes:
- ./videochat/src:/videochat/src
- ./videochat/videos:/videochat/videos
- ./videochat/.checkpoints:/videochat/.checkpoints
env_file: ./videochat/.env
container_name: video_chat
volumes:
persist-volume: