| 1 |
# ZephyrFS Production Configuration |
| 2 |
|
| 3 |
# Core Configuration |
| 4 |
NODE_ENV=production |
| 5 |
PORT=3000 |
| 6 |
HOST=0.0.0.0 |
| 7 |
|
| 8 |
# ZephyrFS Node Configuration |
| 9 |
ZEPHYRFS_NODE_URL=http://zephyrfs-node:8080 |
| 10 |
ZEPHYRFS_NODE_TIMEOUT=30000 |
| 11 |
|
| 12 |
# Security |
| 13 |
JWT_SECRET=your-super-secure-jwt-secret-here |
| 14 |
CORS_ORIGINS=https://your-domain.com,https://api.your-domain.com |
| 15 |
|
| 16 |
# File Upload Limits |
| 17 |
MAX_FILE_SIZE=1073741824 # 1GB in bytes |
| 18 |
MAX_CONCURRENT_UPLOADS=10 |
| 19 |
|
| 20 |
# Logging |
| 21 |
LOG_LEVEL=info |
| 22 |
|
| 23 |
# Storage Paths |
| 24 |
DATA_PATH=/opt/zephyrfs/data |
| 25 |
SSL_CERTS_PATH=/opt/zephyrfs/ssl |
| 26 |
|
| 27 |
# Monitoring |
| 28 |
GRAFANA_PASSWORD=admin |
| 29 |
|
| 30 |
# Performance Settings |
| 31 |
CACHE_MAX_SIZE=104857600 # 100MB |
| 32 |
CACHE_TTL=300000 # 5 minutes |
| 33 |
|
| 34 |
# Database (if using external DB) |
| 35 |
# DATABASE_URL=postgresql://user:pass@localhost:5432/zephyrfs |
| 36 |
|
| 37 |
# Redis (if using external cache) |
| 38 |
# REDIS_URL=redis://localhost:6379 |
| 39 |
|
| 40 |
# Email (for notifications) |
| 41 |
# SMTP_HOST=smtp.gmail.com |
| 42 |
# SMTP_PORT=587 |
| 43 |
# SMTP_USER=your-email@gmail.com |
| 44 |
# SMTP_PASS=your-app-password |
| 45 |
|
| 46 |
# S3 Backup (optional) |
| 47 |
# S3_BUCKET=zephyrfs-backups |
| 48 |
# S3_ACCESS_KEY=your-access-key |
| 49 |
# S3_SECRET_KEY=your-secret-key |
| 50 |
# S3_REGION=us-east-1 |