update environment configuration for local development, enhance database initialization, and improve Nginx routing for admin access

This commit is contained in:
zwitschi committed 2026-08-03 14:26:11 +02:00
1 parent 2e061dff28
commit 1ae0ad121b
10 files changed
+185 -37

No files matched your search

+12 -11
View File
@@ -15,13 +15,14 @@ CLOUDFLARE_ACCOUNT_ID=your-account-id
MEDIA_DOMAIN=media.linearvoid.tv
# Public frontend URLs (Vite reads these from the repository root via frontend/vite.config.ts)
# Local defaults keep development on localhost. Production should use:
# VITE_PUBLIC_APP_URL=https://linearvoid.tv
# VITE_PUBLIC_WS_URL=wss://linearvoid.tv/ws
# VITE_PUBLIC_HLS_URL=https://media.linearvoid.tv/hls/playlist.m3u8
VITE_PUBLIC_APP_URL=http://localhost:8080
VITE_PUBLIC_WS_URL=ws://localhost:3000/ws
VITE_PUBLIC_HLS_URL=http://localhost:8080/hls/playlist.m3u8
# Preferred local setup in this repo uses the real public domains through Cloudflare/Nginx Proxy Manager.
VITE_PUBLIC_APP_URL=https://linearvoid.tv
VITE_PUBLIC_WS_URL=wss://linearvoid.tv/ws
VITE_PUBLIC_HLS_URL=https://media.linearvoid.tv/hls/playlist.m3u8
# Optional direct-local fallback when bypassing the public proxy:
# VITE_PUBLIC_APP_URL=http://localhost
# VITE_PUBLIC_WS_URL=ws://localhost/ws
# VITE_PUBLIC_HLS_URL=http://localhost/hls/playlist.m3u8
# Gitea Container Registry (for self-hosted Docker images)
GITEA_REGISTRY_URL=git.allucanget.biz
@@ -29,13 +30,13 @@ GITEA_USERNAME=your-gitea-username
GITEA_TOKEN=your-gitea-token
GITEA_REGISTRY_NAMESPACE=zwitschi/linearvoid
# Chat / Application Database (PostgreSQL or SQLite for local)
DATABASE_URL=postgres://user:password@localhost:5432/linearvoid
# Or for SQLite (local development):
# Chat / Application Database (compose-safe PostgreSQL by default, SQLite optional)
DATABASE_URL=postgres://linearvoid:linearvoid@db:5432/linearvoid?sslmode=disable
# Or for SQLite-only local development:
# DATABASE_URL=sqlite://./data/chat.db
# Redis (for presence, rate limiting, pub/sub)
REDIS_URL=redis://localhost:6379/0
REDIS_URL=redis://redis:6379/0
# Service Ports (for local docker-compose)
PLAYOUT_PORT=8080