API, UI, Linux/MikroTik agents, IP lists, политики, stats, CI и интеграция с auth-portal/EvoBGP. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
740 B
Bash
27 lines
740 B
Bash
# Database
|
|
DATABASE_URL=sqlite:data/app.db
|
|
|
|
# Auth — portal SSO (prod) или локальный режим (dev)
|
|
# AUTH_REQUIRED=true → JWT от auth-portal, app id `fw`
|
|
AUTH_REQUIRED=false
|
|
AUTH_JWT_SECRET=dev-secret-change-me
|
|
AUTH_ISSUER=https://auth.shnt.top
|
|
AUTH_PORTAL_URL=http://localhost:5175
|
|
JWT_TTL_HOURS=24
|
|
PUBLIC_BASE_URL=http://localhost:8080
|
|
EVOFW_ENROLL_SEED=dev-enroll-seed-change-me
|
|
|
|
# Frontend (Vite) — apps/web/.env.local
|
|
# VITE_AUTH_ENABLED=true
|
|
# VITE_AUTH_PORTAL_URL=http://localhost:5175
|
|
|
|
# ReUI PRO (apps/web/components.json → @reui Authorization)
|
|
REUI_LICENSE_KEY=
|
|
|
|
# EvoBGP integration (source of prefix lists)
|
|
# EVOBGP_API_URL=https://bgp.example.com
|
|
# EVOBGP_INTEGRATION_TOKEN=
|
|
|
|
# Server
|
|
SERVER_PORT=8080
|