Remove deployment success documentation for ScriptShare application on DigitalOcean, streamlining project files and eliminating outdated information.

This commit is contained in:
2025-08-20 00:21:08 +01:00
parent 7c45a3b1d9
commit 68a02d1e5f
12 changed files with 1393 additions and 97 deletions

52
env.production Normal file
View File

@ -0,0 +1,52 @@
# 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