fix docker setup
This commit is contained in:
62
.env.production.example
Normal file
62
.env.production.example
Normal file
@@ -0,0 +1,62 @@
|
||||
# ==========================================
|
||||
# GridPilot Production Environment Example
|
||||
# ==========================================
|
||||
# Copy this file to .env.production and update with real credentials
|
||||
|
||||
# Node Environment
|
||||
NODE_ENV=production
|
||||
|
||||
# ==========================================
|
||||
# Database (PostgreSQL)
|
||||
# ==========================================
|
||||
# Update these with your production database credentials
|
||||
DATABASE_URL=postgres://gridpilot_user:YOUR_SECURE_PASSWORD@db:5432/gridpilot_prod
|
||||
POSTGRES_DB=gridpilot_prod
|
||||
POSTGRES_USER=gridpilot_user
|
||||
POSTGRES_PASSWORD=YOUR_SECURE_PASSWORD
|
||||
|
||||
# ==========================================
|
||||
# Redis Cache
|
||||
# ==========================================
|
||||
# Update with your production Redis password
|
||||
REDIS_URL=redis://:YOUR_REDIS_PASSWORD@redis:6379
|
||||
REDIS_PASSWORD=YOUR_REDIS_PASSWORD
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
|
||||
# ==========================================
|
||||
# API Configuration
|
||||
# ==========================================
|
||||
API_PORT=3000
|
||||
API_HOST=0.0.0.0
|
||||
|
||||
# ==========================================
|
||||
# Website Configuration
|
||||
# ==========================================
|
||||
# Update with your actual domain
|
||||
NEXT_PUBLIC_GRIDPILOT_MODE=alpha
|
||||
NEXT_PUBLIC_SITE_URL=https://your-domain.com
|
||||
NEXT_PUBLIC_API_URL=https://api.your-domain.com
|
||||
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/your-invite-code
|
||||
NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# ==========================================
|
||||
# Vercel KV (REQUIRED in Production)
|
||||
# ==========================================
|
||||
# Get these from: https://vercel.com/dashboard -> Storage -> KV
|
||||
KV_REST_API_URL=https://your-kv-rest-api-url.vercel-storage.com
|
||||
KV_REST_API_TOKEN=your_kv_rest_api_token_here
|
||||
|
||||
# ==========================================
|
||||
# Automation Mode
|
||||
# ==========================================
|
||||
AUTOMATION_MODE=production
|
||||
AUTOMATION_TIMEOUT=30000
|
||||
RETRY_ATTEMPTS=3
|
||||
SCREENSHOT_ON_ERROR=false
|
||||
|
||||
# ==========================================
|
||||
# Security & Performance
|
||||
# ==========================================
|
||||
# Add any additional production-specific variables here
|
||||
# Example: API keys, webhook URLs, etc.
|
||||
Reference in New Issue
Block a user