39 lines
769 B
Bash
39 lines
769 B
Bash
|
|
# LandveX Admin Backend - Environment Variables
|
||
|
|
|
||
|
|
# Application
|
||
|
|
APP_NAME=LandveX Admin Backend
|
||
|
|
DEBUG=false
|
||
|
|
|
||
|
|
# Database
|
||
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/landvex
|
||
|
|
DATABASE_POOL_SIZE=20
|
||
|
|
DATABASE_MAX_OVERFLOW=10
|
||
|
|
|
||
|
|
# Schema isolation
|
||
|
|
DEFAULT_TENANT_SCHEMA=public
|
||
|
|
TENANT_SCHEMA_PREFIX=tenant_
|
||
|
|
|
||
|
|
# JWT Security
|
||
|
|
SECRET_KEY=change-me-in-production-landvex-secret-key-2026
|
||
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
||
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
||
|
|
ALGORITHM=HS256
|
||
|
|
|
||
|
|
# CORS
|
||
|
|
CORS_ORIGINS=["*"]
|
||
|
|
|
||
|
|
# Audit logging
|
||
|
|
AUDIT_LOG_TABLE=audit_logs
|
||
|
|
AUDIT_RETENTION_DAYS=365
|
||
|
|
|
||
|
|
# Pagination
|
||
|
|
DEFAULT_PAGE_SIZE=20
|
||
|
|
MAX_PAGE_SIZE=100
|
||
|
|
|
||
|
|
# Invitation
|
||
|
|
INVITATION_TOKEN_EXPIRE_HOURS=48
|
||
|
|
FRONTEND_SET_PASSWORD_URL=https://admin.landvex.se/set-password
|
||
|
|
|
||
|
|
# Password policy
|
||
|
|
MIN_PASSWORD_LENGTH=8
|