19 lines
521 B
Bash
19 lines
521 B
Bash
# --- Database (FreeRADIUS) ---
|
|
DB_HOST=192.168.1.21
|
|
DB_PORT=3306
|
|
DB_USER=root
|
|
DB_PASSWORD=changeme
|
|
DB_NAME=radius
|
|
|
|
# --- API ---
|
|
# No shared API secret anymore. Auth is per-user: the API seeds a default
|
|
# admin/admin login on first run (must change password on first sign-in), and
|
|
# admins mint revocable X-API-Key values from the web UI for programmatic use.
|
|
|
|
# Comma-separated CORS origins (use * only for trusted/dev networks)
|
|
CORS_ORIGINS=*
|
|
|
|
# Default page size cap for list endpoints
|
|
DEFAULT_LIMIT=50
|
|
MAX_LIMIT=500
|