29 lines
871 B
Bash
29 lines
871 B
Bash
# Database connection URL (SQLite default persists under backend/data/)
|
|
DATABASE_URL=sqlite:///./data/ams.db
|
|
|
|
# JWT signing secret (replace with a 32+ character random string in production)
|
|
SECRET_KEY=change-me-in-production-use-a-32-char-random-string
|
|
|
|
# Directory for uploaded attachments (PDF, JPG, PNG)
|
|
UPLOAD_DIR=./data/uploads
|
|
|
|
# Application display & scheduler timezone
|
|
TIMEZONE=Asia/Kolkata
|
|
|
|
# JWT access token expiration duration in minutes (default: 480 = 8 hours)
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=480
|
|
|
|
# JWT signing algorithm
|
|
ALGORITHM=HS256
|
|
|
|
# Maximum allowed attachment file size in megabytes
|
|
MAX_UPLOAD_SIZE_MB=10
|
|
|
|
# Optional local AI narrative provider (none | ollama | openai_compatible)
|
|
# Default is "none" (deterministic rule-based summaries; no model required)
|
|
AI_PROVIDER=none
|
|
AI_BASE_URL=http://localhost:11434
|
|
AI_MODEL=
|
|
AI_API_KEY=
|
|
AI_TIMEOUT_SECONDS=25
|