-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (45 loc) · 1.18 KB
/
Copy path.env.example
File metadata and controls
55 lines (45 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Database
DATABASE_URL=postgresql://lagora:lagora@localhost:5432/lagora
# API
API_PORT=3001
API_HOST=0.0.0.0
# JWT / Session
JWT_SECRET=change-me-in-production-use-long-random-string
SESSION_SECRET=change-me-in-production-use-long-random-string
JWT_EXPIRES_IN=7d
# OIDC / Authentik (optional - for SSO)
OIDC_ENABLED=false
OIDC_ISSUER=https://auth.example.com/application/o/lagora/
OIDC_CLIENT_ID=your-client-id
OIDC_CLIENT_SECRET=your-client-secret
OIDC_REDIRECT_URI=https://lagora.example.com/auth/oidc/callback
# File Storage (S3-compatible)
STORAGE_TYPE=local
# For S3:
# STORAGE_TYPE=s3
# S3_ENDPOINT=https://s3.example.com
# S3_BUCKET=lagora
# S3_ACCESS_KEY=your-access-key
# S3_SECRET_KEY=your-secret-key
# S3_REGION=us-east-1
# Email (for invitations)
SMTP_ENABLED=false
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_PASS=your-password
SMTP_FROM=lagora <[email protected]>
# App URL
APP_URL=http://localhost:5173
API_URL=http://localhost:3001
# Frontend
VITE_API_URL=http://localhost:3001
VITE_APP_NAME=lagora
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW=60
# Multi-tenant SaaS mode
SAAS_MODE=false
# Logging
LOG_LEVEL=info