cosmo/.env.production

45 lines
1.1 KiB
Plaintext

# Cosmo Production Environment Configuration
# ======================
# Database Configuration
# ======================
DATABASE_NAME=cosmo_db
DATABASE_USER=postgres
DATABASE_PASSWORD=your_secure_password_here
DATABASE_POOL_SIZE=20
DATABASE_MAX_OVERFLOW=10
# ======================
# Redis Configuration
# ======================
REDIS_PASSWORD=
REDIS_MAX_CONNECTIONS=50
# ======================
# Application Configuration
# ======================
# CORS - Set your domain here
CORS_ORIGINS=http://your-domain.com,https://your-domain.com
# API Base URL for frontend
VITE_API_BASE_URL=http://your-domain.com/api
# ======================
# Cache Configuration
# ======================
CACHE_TTL_DAYS=3
# ======================
# Upload Configuration
# ======================
MAX_UPLOAD_SIZE=10485760
# ======================
# Data Path Configuration
# ======================
# All data will be stored under /opt/cosmo/data/
# - /opt/cosmo/data/postgres - Database files
# - /opt/cosmo/data/redis - Redis persistence
# - /opt/cosmo/data/upload - User uploaded files
# - /opt/cosmo/data/logs - Application logs