2026-02-06 20:02:48 +00:00
|
|
|
# Root compose defaults (safe for local self-host / dev)
|
|
|
|
|
# Copy to .env to override.
|
|
|
|
|
|
|
|
|
|
# --- app ports (host) ---
|
|
|
|
|
FRONTEND_PORT=3000
|
|
|
|
|
BACKEND_PORT=8000
|
|
|
|
|
|
|
|
|
|
# --- database ---
|
2026-02-07 07:15:53 +00:00
|
|
|
POSTGRES_DB=mission_control
|
2026-02-06 20:02:48 +00:00
|
|
|
POSTGRES_USER=postgres
|
|
|
|
|
POSTGRES_PASSWORD=postgres
|
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
|
|
|
|
|
|
# --- backend settings (see backend/.env.example for full list) ---
|
|
|
|
|
CORS_ORIGINS=http://localhost:3000
|
|
|
|
|
DB_AUTO_MIGRATE=true
|
2026-02-11 16:49:43 +05:30
|
|
|
LOG_LEVEL=INFO
|
|
|
|
|
REQUEST_LOG_SLOW_MS=1000
|
2026-02-06 20:02:48 +00:00
|
|
|
|
|
|
|
|
# --- frontend settings ---
|
2026-02-08 15:31:34 +00:00
|
|
|
# REQUIRED: Public URL used by the browser to reach the API.
|
|
|
|
|
# If this is missing/blank, frontend API calls (e.g. Activity feed) will break.
|
|
|
|
|
# Example (local dev / compose on your machine):
|
2026-02-06 20:02:48 +00:00
|
|
|
NEXT_PUBLIC_API_URL=http://localhost:8000
|