feat: add authentication for OSS (#167)

* feat: add authentication for OSS

Fixes #157 and #156

* fix: fix token generation

* fix: limit fastapi workers to 1
This commit is contained in:
Abhishek 2026-02-20 18:21:24 +05:30 committed by GitHub
parent 0791975864
commit 642cc34e8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 994 additions and 303 deletions

View file

@ -103,6 +103,9 @@ services:
MINIO_BUCKET: "voice-audio"
MINIO_SECURE: "false"
# FastAPI workers count
FASTAPI_WORKERS: 1
# Langfuse
ENABLE_TRACING: "false"
# LANGFUSE_SECRET_KEY: ""
@ -118,6 +121,8 @@ services:
TURN_HOST: "${TURN_HOST:-}"
TURN_SECRET: "${TURN_SECRET:-}"
OSS_JWT_SECRET: "${OSS_JWT_SECRET:-ChangeMeInProduction}"
ports:
- "8000:8000"
depends_on:
@ -148,7 +153,6 @@ services:
# Server-side URL (SSR, internal Docker network)
BACKEND_URL: "http://api:8000"
NODE_ENV: "oss"
# Flag to enable/ disable posthog and sentry
ENABLE_TELEMETRY: "${ENABLE_TELEMETRY:-true}"
@ -214,4 +218,4 @@ volumes:
networks:
app-network:
driver: bridge
driver: bridge