Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,27 @@ DATABASE_URL=postgres://openrisk:openrisk@localhost:5434/openrisk
PORT=8080
APP_ENV=development

# ==================== JWT CONFIGURATION ====================
# JWT Secret (generate with: openssl rand -base64 32)
JWT_SECRET=your-secret-key-change-in-production
JWT_ACCESS_TTL=15m
JWT_REFRESH_TTL=168h

# ==================== EMAIL (for invitations) ====================
SMTP_HOST=smtp.brevo.com
SMTP_PORT=587
SMTP_USER=your-brevo-username
SMTP_PASS=your-brevo-password
SMTP_FROM=noreply@openrisk.io

# ==================== APP URL (for invitation links) ====================
APP_URL=http://localhost:3000

# ==================== INVITATION ====================
INVITATION_TTL_HOURS=72

# ==================== PERMISSIONS CACHE ====================
PERMISSIONS_CACHE_TTL=5m

# ==================== CORS ====================
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
Expand Down
Loading
Loading