TreeTrack / .env.example
RoyAalekh's picture
Docs: add DEMO_PASSWORD to env example for HF Secrets configuration
a73ceeb
raw
history blame
1.27 kB
# TreeTrack Environment Configuration
# Copy this file to .env and fill in the values
# Application Settings
APP_NAME=TreeTrack
APP_VERSION=3.0.0
ENVIRONMENT=development
APP_DESCRIPTION=Tree mapping and tracking with cloud storage
# Server Configuration
HOST=0.0.0.0
PORT=7860
WORKERS=1
RELOAD=false
DEBUG=false
# Security Settings
CORS_ORIGINS=*
MAX_REQUEST_SIZE=10485760
# Supabase Configuration (Required for production)
SUPABASE_URL=https://your-project-id.supabase.co
SUPABASE_ANON_KEY=your-anon-key-here
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
# Storage Buckets
IMAGE_BUCKET=tree-images
AUDIO_BUCKET=tree-audios
SIGNED_URL_EXPIRY=3600
# Authentication (Required for production)
AALEKH_PASSWORD=your-secure-password-here
ADMIN_PASSWORD=your-secure-admin-password-here
ISHITA_PASSWORD=your-secure-password-here
JEEB_PASSWORD=your-secure-password-here
DEMO_PASSWORD=your-demo-password-here
# Feature Flags
ENABLE_API_DOCS=true
ENABLE_FRONTEND=true
ENABLE_STATISTICS=true
ENABLE_MASTER_DB=true
# Conference/Demo Mode
CONFERENCE_MODE=false
DEMO_MODE=false
# Data Validation Limits
MAX_SPECIES_LENGTH=200
MAX_NOTES_LENGTH=2000
MAX_TREES_PER_REQUEST=1000
# Development Settings (for local development only)
# Leave empty for production
# DEV_MODE=true