# Backend Environment Variables Example
# Copy this file to .env and update with your values

# Application
NODE_ENV=production
PORT=3000

# Security
JWT_SECRET=your-very-secure-jwt-secret-at-least-32-characters-long

# URLs
ADMIN_URL=https://yourdomain.com
FRONTEND_URL=https://yourdomain.com

# Database Configuration
DATABASE_CLIENT=pg
DB_HOST=db
DB_PORT=5432
DB_USER=picpeak
DB_PASSWORD=your-secure-database-password
DB_NAME=picpeak

# Email Configuration
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-smtp-username
SMTP_PASS=your-smtp-password
EMAIL_FROM=noreply@yourdomain.com

# Storage Paths (Docker)
STORAGE_PATH=/app/storage
EVENTS_PATH=/app/storage/events
ARCHIVE_PATH=/app/storage/events/archived

# Analytics (Optional)
UMAMI_URL=https://analytics.yourdomain.com
UMAMI_WEBSITE_ID=your-website-id

# Logging
LOG_LEVEL=info