# Database Configuration DATABASE_URL=postgresql://dev:dev123@localhost:5432/task_reporter # For development with SQLite (comment out DATABASE_URL above and use this): # DATABASE_URL=sqlite:///./task_reporter.db # Security FERNET_KEY= # Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" # AD API AD_API_URL=https://pj-auth-api.vercel.app/api/auth/login # Session Settings SESSION_INACTIVITY_DAYS=3 TOKEN_REFRESH_THRESHOLD_MINUTES=5 MAX_REFRESH_ATTEMPTS=3 # MinIO Object Storage Configuration # For local development, use docker-compose.minio.yml to start MinIO MINIO_ENDPOINT=localhost:9000 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_BUCKET=task-reporter-files MINIO_SECURE=false # Set to true for HTTPS in production # DIFY AI Service Configuration # Used for AI-powered incident report generation DIFY_BASE_URL=https://dify.theaken.com/v1 DIFY_API_KEY= # Required: Get from DIFY console DIFY_TIMEOUT_SECONDS=120 # Timeout for AI generation requests # Report Generation Settings REPORT_MAX_MESSAGES=200 # Summarize older messages if room exceeds this count REPORT_STORAGE_PATH=reports # MinIO path prefix for generated reports