53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# ScriptShare Production Environment Configuration
|
|
|
|
# Application Settings
|
|
APP_NAME=ScriptShare
|
|
APP_URL=https://your-domain.com
|
|
ANALYTICS_ENABLED=true
|
|
NODE_ENV=production
|
|
|
|
# Database Configuration
|
|
DB_HOST=scriptshare-db
|
|
DB_PORT=3306
|
|
DB_NAME=scriptshare
|
|
DB_USER=scriptshare_user
|
|
DB_PASSWORD=ScriptShare_App_2024_Secure!
|
|
DB_ROOT_PASSWORD=ScriptShare_Root_2024_Secure_Password
|
|
DATABASE_URL=mysql://scriptshare_user:ScriptShare_App_2024_Secure!@scriptshare-db:3306/scriptshare
|
|
|
|
# Security
|
|
JWT_SECRET=production-super-secret-jwt-key-scriptshare-2024-secure-change-this-in-production
|
|
|
|
# API Configuration
|
|
API_PORT=3001
|
|
API_URL=http://localhost:3001
|
|
CORS_ORIGIN=https://your-domain.com
|
|
|
|
# Frontend Configuration
|
|
FRONTEND_PORT=80
|
|
FRONTEND_URL=https://your-domain.com
|
|
VITE_APP_NAME=ScriptShare
|
|
VITE_APP_URL=https://your-domain.com
|
|
VITE_ANALYTICS_ENABLED=true
|
|
VITE_API_URL=https://your-domain.com/api
|
|
|
|
# Proxy Configuration
|
|
PROXY_PORT=8080
|
|
PROXY_SSL_PORT=8443
|
|
|
|
# Redis Configuration (Optional)
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=ScriptShare_Redis_2024
|
|
|
|
# SSL Configuration
|
|
SSL_CERT_PATH=./certs
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
LOG_FILE=/app/logs/scriptshare.log
|
|
|
|
# Backup Configuration
|
|
BACKUP_ENABLED=true
|
|
BACKUP_SCHEDULE=0 2 * * *
|
|
BACKUP_RETENTION_DAYS=30
|