Aniworld/config/docker/production.env

31 lines
528 B
Bash

# Production Environment Variables
FLASK_ENV=production
DEBUG=False
# Database
DATABASE_URL=postgresql://aniworld:password@postgres:5432/aniworld_prod
DATABASE_POOL_SIZE=20
# Redis
REDIS_URL=redis://redis:6379/0
# Security
SECRET_KEY=change-this-in-production
SESSION_TIMEOUT=3600
CSRF_TOKEN_TIMEOUT=3600
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
# Performance
CACHE_TIMEOUT=3600
MAX_WORKERS=4
# Downloads
DOWNLOAD_PATH=/app/downloads
MAX_CONCURRENT_DOWNLOADS=10
# Monitoring
HEALTH_CHECK_ENABLED=true
METRICS_ENABLED=true