27 lines
736 B
Plaintext
27 lines
736 B
Plaintext
# Root compose defaults (safe for local self-host / dev)
|
|
# Copy to .env to override.
|
|
|
|
# --- app ports (host) ---
|
|
FRONTEND_PORT=3000
|
|
BACKEND_PORT=8000
|
|
|
|
# --- database ---
|
|
POSTGRES_DB=mission_control
|
|
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
|
|
LOG_LEVEL=INFO
|
|
REQUEST_LOG_SLOW_MS=1000
|
|
AUTH_MODE=local
|
|
LOCAL_AUTH_TOKEN=change-me
|
|
|
|
# --- frontend settings ---
|
|
# 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):
|
|
NEXT_PUBLIC_API_URL=http://localhost:8000
|