Files
auth-portal/.env.example
T
DenozordecandCursor 1cc58977fd
Build and Push Auth Portal Docker Image / build-and-push (push) Successful in 3m37s
Build and Push Auth Portal Docker Image / create-release (push) Skipped
feat(auth): allowlist private для LAN return_to
Co-authored-by: Cursor <[email protected]>
2026-07-18 13:49:37 +07:00

30 lines
865 B
Bash

# Database
DATABASE_URL=sqlite:data/app.db
# Auth JWT (access tokens for apps)
JWT_SECRET=dev-secret-change-me
JWT_TTL_HOURS=1
REFRESH_TTL_DAYS=14
ISSUER=https://auth.shnt.top
# Bootstrap admin (created on first start if DB empty)
ADMIN_EMAIL=[email protected]
ADMIN_PASSWORD=admin
ADMIN_NAME=Admin
# Allowed return_to hosts (comma-separated), e.g. .shnt.top or full origins
RETURN_TO_ALLOWLIST=.shnt.top,localhost,private,http://localhost:5173,http://localhost:5174
# ReUI PRO (apps/web/components.json → @reui Authorization)
# Ключ: https://reui.io/docs/license-setup — класть в apps/web/.env.local (gitignored)
REUI_LICENSE_KEY=
# Local app URLs for SSO Open (apps/web/.env.local)
# VITE_VPS_APP_URL=http://localhost:5173
# VITE_RETURN_TO_ALLOWLIST=.shnt.top,localhost,http://localhost:5173
# Server
SERVER_PORT=8080
STATIC_DIR=
LOG_LEVEL=info