mirror of
https://github.com/Zie619/n8n-workflows.git
synced 2025-11-25 03:15:25 +08:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
|
|
# Production Environment Configuration
|
||
|
|
# Copy this file to .env for production deployment
|
||
|
|
# IMPORTANT: Review and update all values before deployment
|
||
|
|
|
||
|
|
# Application Settings
|
||
|
|
ENVIRONMENT=production
|
||
|
|
DEBUG=false
|
||
|
|
LOG_LEVEL=warning
|
||
|
|
RELOAD=false
|
||
|
|
|
||
|
|
# Server Configuration
|
||
|
|
HOST=0.0.0.0
|
||
|
|
PORT=8000
|
||
|
|
|
||
|
|
# Database Configuration
|
||
|
|
DATABASE_PATH=database/workflows.db
|
||
|
|
WORKFLOWS_PATH=workflows
|
||
|
|
|
||
|
|
# Performance Settings
|
||
|
|
ENABLE_METRICS=true
|
||
|
|
MAX_WORKERS=4
|
||
|
|
|
||
|
|
# Security Settings
|
||
|
|
# BASIC_AUTH_USERNAME=admin
|
||
|
|
# BASIC_AUTH_PASSWORD=your-secure-password
|
||
|
|
# SECRET_KEY=your-secret-key-here
|
||
|
|
# ALLOWED_HOSTS=workflows.yourdomain.com,localhost
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
LOG_FORMAT=json
|
||
|
|
LOG_TO_CONSOLE=false
|
||
|
|
LOG_TO_FILE=true
|
||
|
|
LOG_FILE_PATH=logs/app.log
|
||
|
|
LOG_FILE_MAX_SIZE=10MB
|
||
|
|
LOG_FILE_BACKUP_COUNT=5
|
||
|
|
|
||
|
|
# Monitoring (Optional)
|
||
|
|
# PROMETHEUS_METRICS_PATH=/metrics
|
||
|
|
# ENABLE_HEALTH_CHECKS=true
|
||
|
|
# HEALTH_CHECK_PATH=/health
|
||
|
|
|
||
|
|
# External Services (if needed)
|
||
|
|
# REDIS_URL=redis://localhost:6379
|
||
|
|
# POSTGRES_URL=postgresql://user:password@localhost/dbname
|
||
|
|
|
||
|
|
# SSL/TLS Configuration (if using HTTPS)
|
||
|
|
# SSL_CERT_PATH=/path/to/cert.pem
|
||
|
|
# SSL_KEY_PATH=/path/to/key.pem
|