# ───────────────────────────────────────────────────────────────── # BMS Backend — Environment Variables # Copy this file to .env and fill in your values. # Never commit .env to git. # ───────────────────────────────────────────────────────────────── # Database — matches docker-compose.yml defaults, no change needed for Docker deploys DATABASE_URL=postgresql+asyncpg://dcim:dcim_pass@db:5432/dcim # MQTT broker — matches the mqtt service name in docker-compose.yml MQTT_HOST=mqtt MQTT_PORT=1883 # Clerk authentication # Get these from https://dashboard.clerk.com → Your App → API Keys CLERK_SECRET_KEY=sk_test_REPLACE_ME CLERK_JWKS_URL=https://YOUR_APP.clerk.accounts.dev/.well-known/jwks.json # CORS origins — only needed if the backend is accessed directly from a browser # Example: CORS_ORIGINS=["https://yourdomain.com"] # Leave empty when using the built-in Next.js proxy (recommended) CORS_ORIGINS=[] DEBUG=true