wip
This commit is contained in:
53
.env.production
Normal file
53
.env.production
Normal file
@@ -0,0 +1,53 @@
|
||||
# ==========================================
|
||||
# GridPilot Production Environment
|
||||
# ==========================================
|
||||
|
||||
# Node Environment
|
||||
NODE_ENV=production
|
||||
|
||||
# ==========================================
|
||||
# Database (PostgreSQL)
|
||||
# ==========================================
|
||||
# IMPORTANT: Change these credentials in production!
|
||||
DATABASE_URL=postgres://gridpilot_user:CHANGE_ME_IN_PRODUCTION@db:5432/gridpilot_prod
|
||||
POSTGRES_DB=gridpilot_prod
|
||||
POSTGRES_USER=gridpilot_user
|
||||
POSTGRES_PASSWORD=CHANGE_ME_IN_PRODUCTION
|
||||
|
||||
# ==========================================
|
||||
# Redis Cache
|
||||
# ==========================================
|
||||
# IMPORTANT: Change password in production!
|
||||
REDIS_URL=redis://:CHANGE_ME_IN_PRODUCTION@redis:6379
|
||||
REDIS_PASSWORD=CHANGE_ME_IN_PRODUCTION
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
|
||||
# ==========================================
|
||||
# API Configuration
|
||||
# ==========================================
|
||||
API_PORT=3000
|
||||
API_HOST=0.0.0.0
|
||||
|
||||
# ==========================================
|
||||
# Website Configuration
|
||||
# ==========================================
|
||||
NEXT_PUBLIC_GRIDPILOT_MODE=alpha
|
||||
NEXT_PUBLIC_SITE_URL=https://gridpilot.com
|
||||
NEXT_PUBLIC_API_URL=https://api.gridpilot.com
|
||||
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/your-invite-code
|
||||
NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# ==========================================
|
||||
# Vercel KV (REQUIRED in Production)
|
||||
# ==========================================
|
||||
KV_REST_API_URL=your_kv_rest_api_url_here
|
||||
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
|
||||
Reference in New Issue
Block a user