-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsecrets.example.toml
More file actions
35 lines (29 loc) · 1.25 KB
/
Copy pathsecrets.example.toml
File metadata and controls
35 lines (29 loc) · 1.25 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
# Example secrets configuration for Streamlit Cloud
# Copy this content to your Streamlit Cloud App Settings > Secrets
# Database Configuration
DB_TYPE = "sqlite"
DB_PATH = "litgrid_local.db"
# Application Security - CHANGE THESE VALUES!
SECRET_KEY = "your-super-secret-key-change-this-in-production-make-it-long-and-random"
# Must be a Fernet key (32 url-safe base64-encoded bytes).
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
ENCRYPTION_KEY = "REPLACE_WITH_FERNET_KEY"
# Application Settings
APP_NAME = "LitGrid"
APP_VERSION = "4.0"
DEBUG = false
# Admin Credentials (Optional)
ADMIN_USERNAME = "admin"
ADMIN_PASSWORD = "secure-password-here"
# Super Admin Credentials (Recommended to override defaults)
LITGRID_SUPERADMIN_USERNAME = "superadmin"
LITGRID_SUPERADMIN_PASSWORD = "change-this-superadmin-password"
LITGRID_SUPERADMIN_EMAIL = "superadmin@example.com"
LITGRID_SUPERADMIN_SECURITY_KEY = "change-this-second-factor-key"
LITGRID_EXPORT_SIGNING_KEY = "change-this-export-signing-key"
# Email Configuration (Optional - for notifications)
SMTP_SERVER = "smtp.gmail.com"
SMTP_PORT = 587
SMTP_USERNAME = "your-email@gmail.com"
SMTP_PASSWORD = "your-gmail-app-password"
SMTP_FROM_EMAIL = "noreply@litgrid.com"