-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
49 lines (44 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
services:
cache:
hostname: cache
image: valkey/valkey:9-alpine
potoken:
hostname: potoken
image: brainicism/bgutil-ytdlp-pot-provider:latest
nginx:
hostname: nginx
image: nginx:1.30
ports:
- '80:80'
volumes:
- ./config/nginx.conf:/etc/nginx/conf.d/default.conf
restart: always
streaming:
hostname: streaming
build: ./streaming
ports:
- 9999:9999
volumes:
- ./config/mediamtx.yml:/mediamtx.yml
database:
hostname: database
image: postgres:18.3
ports:
- 5132:5132
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=engineeredPassword
- POSTGRES_DB=multiview
volumes:
- ./database/data:/var/lib/postgresql
web:
hostname: web
build: .
environment:
- DATABASE_URL=postgresql://postgres:engineeredPassword@database:5432/multiview
- STREAMING_HOST=streaming
- VALKEY_URL=valkey://cache:6379
command: sh -c "bun turbo telemetry status && bun run db:migrate && bun run build && bun run preview"
volumes:
- ./config/cookies.txt:/app/services/config/cookies.txt
- ./recordings:/recordings