Initial commit
This commit is contained in:
56
.env.coolify.example
Normal file
56
.env.coolify.example
Normal file
@@ -0,0 +1,56 @@
|
||||
# =============================================
|
||||
# COOLIFY ENVIRONMENT VARIABLES
|
||||
# Copy these to your Coolify application settings
|
||||
# =============================================
|
||||
|
||||
# Application Settings
|
||||
APP_DOMAIN=your-domain.com
|
||||
APP_BASE_URL=https://your-domain.com
|
||||
APP_PORT=3000
|
||||
NODE_ENV=production
|
||||
|
||||
# JWT Secrets (CHANGE THESE!)
|
||||
JWT_SECRET=CHANGE_ME_TO_RANDOM_STRING_MIN_32_CHARS
|
||||
JWT_REFRESH_SECRET=CHANGE_ME_TO_RANDOM_STRING_MIN_32_CHARS
|
||||
|
||||
# Database Configuration
|
||||
POSTGRES_DB=estate_platform
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=CHANGE_ME_TO_SECURE_PASSWORD
|
||||
DATABASE_URL=postgresql://postgres:CHANGE_ME_TO_SECURE_PASSWORD@postgres:5432/estate_platform
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_PASSWORD=CHANGE_ME_TO_SECURE_PASSWORD
|
||||
REDIS_URL=redis://:CHANGE_ME_TO_SECURE_PASSWORD@redis:6379
|
||||
|
||||
# Email Configuration (Optional - for email verification)
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=your-email@gmail.com
|
||||
SMTP_PASSWORD=your-app-specific-password
|
||||
EMAIL_FROM=noreply@your-domain.com
|
||||
|
||||
# Stripe Configuration (Optional - for payments)
|
||||
STRIPE_SECRET_KEY=sk_live_your_secret_key
|
||||
STRIPE_PUBLISHABLE_KEY=pk_live_your_publishable_key
|
||||
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
|
||||
|
||||
# OAuth Providers (Optional)
|
||||
GOOGLE_CLIENT_ID=your_google_client_id
|
||||
GOOGLE_CLIENT_SECRET=your_google_client_secret
|
||||
GITHUB_CLIENT_ID=your_github_client_id
|
||||
GITHUB_CLIENT_SECRET=your_github_client_secret
|
||||
|
||||
# =============================================
|
||||
# SECURITY NOTES:
|
||||
# =============================================
|
||||
# 1. Generate secure random strings for JWT secrets:
|
||||
# node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
|
||||
#
|
||||
# 2. Use strong passwords for database and Redis
|
||||
#
|
||||
# 3. Never commit this file to Git!
|
||||
#
|
||||
# 4. In Coolify, add these as environment variables
|
||||
# in the application settings
|
||||
# =============================================
|
||||
Reference in New Issue
Block a user