feat: XLive 直播平台初始版本

多用户网页直播平台:OBS/FFmpeg 鉴权 RTMP 推流到 SRS,HLS 低延迟播放;
Fastify 5 + Prisma + PostgreSQL + Redis 后端,Vue 3 前端,Docker Compose 部署。
This commit is contained in:
itxiaohui committed 2026-09-14 17:57:59 +08:00
1 parent 5ef949fe07
commit 463dbb1566
73 files changed
+9593

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
APP_ENV=development
APP_PORT=3000
PUBLIC_URL=http://localhost
DATABASE_URL=postgresql://xlive:xlive_dev_password@postgres:5432/xlive?schema=public
REDIS_URL=redis://redis:6379
JWT_SECRET=replace-with-at-least-32-random-characters
CONFIG_ENCRYPTION_KEY=replace-with-32-byte-base64-key
COOKIE_SECURE=false
ADMIN_USERNAME=admin
ADMIN_PASSWORD=ChangeMe123!
ADMIN_EMAIL=admin@example.com
SRS_API_URL=http://srs:1985
SRS_HOOK_SECRET=replace-with-a-random-hook-secret
RTMP_PUBLIC_URL=rtmp://localhost/live
HLS_PUBLIC_URL=http://localhost/live
UPLOAD_DIR=/app/uploads
LIVE_DIR=/app/live