1.1 KiB
1.1 KiB
Configuration
This page documents how Mission Control is configured across local dev, self-host, and production.
Config sources (first pass)
- Docker Compose uses
compose.ymlplus environment variables. - Backend reads env vars (see
backend/app/core/config.py). - Frontend uses Next.js env vars at build/runtime (see
frontend/pluscompose.yml).
Key environment variables
Frontend
NEXT_PUBLIC_API_URL— backend base URL reachable from the browserNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY— enables Clerk in the frontend when set
Backend
DATABASE_URL— Postgres connection stringCORS_ORIGINS— comma-separated allowed originsCLERK_JWKS_URL— enables Clerk JWT verification on protected routesDB_AUTO_MIGRATE— whether to auto-run migrations on startup (see backend docs/config)
Secrets handling
- Do not commit secret keys.
- Prefer
.envfiles that are excluded by.gitignore.
Links
- Deployment notes: docs/deployment/README.md
- Production notes: docs/production/README.md