2026-05-19 01:17:58 -05:00
|
|
|
# Base URL for frontend -> backend calls.
|
2026-05-19 19:22:22 -05:00
|
|
|
# Use `auto` to target the same host currently serving Mission Control on port 8001.
|
2026-05-19 01:17:58 -05:00
|
|
|
# Example explicit override: https://mc.example.com
|
|
|
|
|
NEXT_PUBLIC_API_URL=auto
|
|
|
|
|
|
|
|
|
|
# Auth mode: clerk or local.
|
|
|
|
|
# - clerk: Clerk sign-in flow
|
2026-05-19 22:28:34 -05:00
|
|
|
# - local: shared bearer token, entered in UI or pre-set via env
|
2026-05-19 01:17:58 -05:00
|
|
|
NEXT_PUBLIC_AUTH_MODE=local
|
|
|
|
|
|
2026-05-19 22:28:34 -05:00
|
|
|
# Local auth token (used when NEXT_PUBLIC_AUTH_MODE=local).
|
|
|
|
|
# When set: the app loads directly without showing the login screen.
|
|
|
|
|
# When unset: users are prompted to enter their token on first load.
|
|
|
|
|
# Must be at least 50 characters and match LOCAL_AUTH_TOKEN on the backend.
|
|
|
|
|
NEXT_PUBLIC_LOCAL_AUTH_TOKEN=
|
|
|
|
|
|
2026-05-19 01:17:58 -05:00
|
|
|
# Clerk auth (used when NEXT_PUBLIC_AUTH_MODE=clerk)
|
|
|
|
|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
|
|
|
|
|
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/boards
|
|
|
|
|
NEXT_PUBLIC_CLERK_AFTER_SIGN_OUT_URL=/
|