# Production Environment Variables
# Copy this file and rename to .env for production deployment
# Make sure to change all default values for security

# Application Settings
NODE_ENV=production
APP_PORT=5173
DOMAIN=your-domain.com

# Database
DATABASE_URL="file:/app/data/production.db"

# Security
SESSION_SECRET="your-super-secure-session-secret-change-this-in-production-min-32-chars"
ENCRYPTION_KEY="production-secure-encryption-key!"

# Super Admin Account (created on first run)
SUPER_ADMIN="superadmin"
SUPER_ADMIN_EMAIL="admin@yourcompany.com"
SUPER_ADMIN_PASSWORD="YourSecurePassword123!"

# Storage Paths (for bind mounts)
DATA_PATH=./data
BACKUP_PATH=./backups

# Backup Schedule (cron format)
BACKUP_SCHEDULE="0 2 * * *"

# Mail Settings (optional - for password reset features)
MAIL_HOST=""
MAIL_PORT="587"
MAIL_SECURE="false"
MAIL_USERNAME=""
MAIL_PASSWORD=""
MAIL_FROM_NAME="Phosphat Report System"
MAIL_FROM_EMAIL=""

# Logging (optional)
LOG_LEVEL="info"