-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 1.05 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
services:
platform:
build:
context: .
dockerfile: platform/Dockerfile
ports:
- "3000:3000"
environment:
DATABASE_URL: "file:./dev.db"
PLAYBACK_SIGNING_SECRET: "dev-secret-change-me-in-production-32chars"
INTERNAL_API_KEY: "dev-internal-api-key-change-me"
ADMIN_PASSWORD_HASH: "$2b$12$LJ3m4ys3Lk0TSwMBQWJJF.FzHqKn5A2n3MpGkbP0U7Q67rJFEyxGq" # password: admin123
HLS_SERVER_BASE_URL: "http://localhost:4000"
NEXT_PUBLIC_APP_NAME: "StreamGate"
SESSION_TIMEOUT_SECONDS: "60"
volumes:
- platform-data:/app/platform/prisma
hls-server:
build:
context: .
dockerfile: hls-server/Dockerfile
ports:
- "4000:4000"
environment:
PLAYBACK_SIGNING_SECRET: "dev-secret-change-me-in-production-32chars"
INTERNAL_API_KEY: "dev-internal-api-key-change-me"
PLATFORM_APP_URL: "http://platform:3000"
STREAM_ROOT: "/streams"
CORS_ALLOWED_ORIGIN: "http://localhost:3000"
PORT: "4000"
volumes:
- ./streams:/streams
volumes:
platform-data: