dhravani / .env.example
coild's picture
Upload 52 files
70b77f4 verified
# PocketBase configuration
POCKETBASE_URL=http://127.0.0.1:8090
# Super admin configuration
SUPER_ADMIN_PASSWORD=your_secure_password_here
# Optional: Comma-separated list of emails that cannot be demoted from admin
SUPER_USER_EMAILS[email protected],[email protected]
# Hugging Face configuration
HF_TOKEN=your_huggingface_token
HF_REPO_ID=your_huggingface_repo_id
# Scheduler configuration
SYNC_HOUR=03
SYNC_MINUTE=30
SYNC_TIMEZONE=Asia/Kolkata
# Storage configuration
SAVE_LOCALLY=true
# Auth configuration
ENABLE_AUTH=true
FLASK_SECRET_KEY=your_flask_secret_key
FLASK_PORT=5000
# Dataset directory configuration
DATASET_BASE_DIR=./datasets
# Debug mode
FLASK_DEBUG=false
# Upload configuration
MAX_UPLOAD_WORKERS=4
MAX_UPLOAD_RETRIES=3
# Improved sync parameters
SYNC_MEMORY_LIMIT_MB=4096
# 4GB - better for handling large datasets
NETWORK_TIMEOUT=120
# 2 minutes - more resilient for large files
UPLOAD_BATCH_SIZE=25
# Good balance between performance and memory usage
# PostgreSQL configuration for metadata storage
POSTGRES_URL=postgresql://name:password@host:port/dbname