Backend (Go): - Config: CORS, RabbitMQ, rate limit, main config updates - Routes: core, distribution, tracks routing changes - Middleware: rate limiter, endpoint limiter, response cache hardening - Handlers: distribution, search handler fixes - Workers: job worker improvements - Upload validator and logging config additions - New migrations: products, orders, performance indexes - Seed tooling and data Stream Server (Rust): - Audio processing, config, routes, simple stream server updates - Dockerfile improvements Infrastructure: - docker-compose.yml updates - nginx-rtmp config changes - Makefile improvements (config, dev, high, infra) - Root package.json and lock file updates - .env.example updates Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
890 B
Text
25 lines
890 B
Text
# Veza Stream Server — Environment Template
|
|
# Copy to .env and fill with real values. Never commit .env.
|
|
|
|
# Security (required, min 32 chars)
|
|
SECRET_KEY=your-secret-key-minimum-32-characters-long
|
|
# v0.9.1 RS256: path to public key (preferred); or JWT_SECRET for HS256
|
|
# JWT_PUBLIC_KEY_PATH=/path/to/jwt-public.pem
|
|
JWT_SECRET=your-jwt-secret-minimum-32-characters-long
|
|
|
|
# Internal API key for stream-events callbacks to backend (must match STREAM_SERVER_INTERNAL_API_KEY on backend)
|
|
# Backend validates X-Internal-API-Key on POST /api/v1/internal/stream-events
|
|
INTERNAL_API_KEY=
|
|
|
|
# Database
|
|
DATABASE_URL=postgres://user:password@host:5432/veza?sslmode=disable
|
|
|
|
# Message queue (optional)
|
|
RABBITMQ_URL=amqp://user:password@host:5672/%2f
|
|
|
|
# CORS — use specific origins in production, never *
|
|
ALLOWED_ORIGINS=https://veza.fr,https://app.veza.fr
|
|
|
|
# Storage
|
|
AUDIO_DIR=audio
|
|
STREAM_PORT=18082
|