Files
shihaam 66073c7891
build-and-push / build (push) Failing after 35s
added multi user support, move api key to database
2026-08-01 13:16:54 +05:00

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