Files
EvoFirewall/.env.example
T
2026-07-20 19:28:56 +07:00

26 lines
758 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
# 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)
# Ключ: https://reui.io/docs/license-setup — класть в apps/web/.env.local (gitignored)
REUI_LICENSE_KEY=
# EvoBGP integration (source of prefix lists)
# EVOBGP_API_URL=https://bgp.example.com
# EVOBGP_INTEGRATION_TOKEN=
# Server
SERVER_PORT=8080