2026-02-08 20:09:38 +00:00
|
|
|
# Environment Variables for jpl-website
|
|
|
|
|
# Copy this file to .env and fill in your values
|
|
|
|
|
|
|
|
|
|
# Application Settings
|
|
|
|
|
SECRET_KEY=your-secret-key-here-change-in-production
|
|
|
|
|
RUST_LOG=info
|
|
|
|
|
|
|
|
|
|
# Database Settings
|
|
|
|
|
# For SQLite (development)
|
|
|
|
|
DATABASE_URL=sqlite:data/dev_database.db
|
|
|
|
|
|
|
|
|
|
# For PostgreSQL (production)
|
|
|
|
|
# DATABASE_URL=postgresql://username:password@localhost/jpl-website_db
|
|
|
|
|
|
|
|
|
|
# Server Settings
|
|
|
|
|
LEPTOS_SITE_ADDR=127.0.0.1:3030
|
|
|
|
|
LEPTOS_SITE_ROOT=/
|
|
|
|
|
LEPTOS_SITE_PKG_DIR=pkg
|
|
|
|
|
LEPTOS_SITE_NAME=jpl-website
|
|
|
|
|
|
|
|
|
|
# Feature Flags
|
|
|
|
|
RUSTELO_AUTH_ENABLED=false
|
|
|
|
|
RUSTELO_EMAIL_ENABLED=false
|
|
|
|
|
RUSTELO_METRICS_ENABLED=true
|
|
|
|
|
RUSTELO_TLS_ENABLED=false
|
|
|
|
|
|
|
|
|
|
# Development Settings
|
|
|
|
|
RUSTELO_DEV_MODE=true
|
|
|
|
|
RUSTELO_HOT_RELOAD=true
|
|
|
|
|
|
|
|
|
|
# Asset Settings
|
|
|
|
|
RUSTELO_STATIC_DIR=public
|
|
|
|
|
RUSTELO_UPLOAD_DIR=uploads
|
2026-02-08 20:37:49 +00:00
|
|
|
RUSTELO_MAX_FILE_SIZE=10485760 # 10MB in bytes
|