38 lines
734 B
Plaintext
38 lines
734 B
Plaintext
# Database Configuration
|
|
DATABASE_URL=postgres://postgres:postgres@postgres:5432/flowforge
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=flowforge
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
# JWT Authentication
|
|
JWT_SECRET=change_this_to_a_secure_random_string
|
|
JWT_EXPIRATION=86400
|
|
|
|
# Server Configuration
|
|
PORT=4000
|
|
NODE_ENV=production
|
|
|
|
# Frontend URL (for CORS)
|
|
FRONTEND_URL=https://your-domain.com
|
|
|
|
# Email Configuration (optional)
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=user@example.com
|
|
SMTP_PASS=your_password
|
|
SMTP_FROM=noreply@example.com
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
|
|
# Storage Configuration
|
|
STORAGE_TYPE=local
|
|
STORAGE_PATH=/app/storage
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW=15
|
|
RATE_LIMIT_MAX=100
|