37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# Production Environment Variables Template
|
|
# Copy this to .env.production and fill in actual values
|
|
|
|
# Database - Use managed PostgreSQL in production
|
|
DATABASE_URL="postgresql://username:password@prod-db-host:5432/portal_prod?schema=public"
|
|
|
|
# Redis - Use managed Redis in production
|
|
REDIS_URL="redis://prod-redis-host:6379"
|
|
|
|
# WHMCS Integration
|
|
WHMCS_BASE_URL="https://accounts.asolutions.co.jp"
|
|
WHMCS_API_IDENTIFIER="<production_api_identifier>"
|
|
WHMCS_API_SECRET="<production_api_secret>"
|
|
|
|
# Salesforce Integration - JWT Bearer Flow (REQUIRED in production)
|
|
SF_LOGIN_URL="https://login.salesforce.com"
|
|
SF_CLIENT_ID="<consumer_key_from_connected_app>"
|
|
SF_PRIVATE_KEY_PATH="/app/secrets/sf-private.key"
|
|
SF_USERNAME="portal.integration@asolutions.co.jp"
|
|
|
|
# Application
|
|
PORT=4000
|
|
NODE_ENV="production"
|
|
|
|
# JWT - Generate new secret for production!
|
|
JWT_SECRET="<generate_new_256_bit_secret>"
|
|
JWT_EXPIRES_IN="7d"
|
|
|
|
# Security
|
|
BCRYPT_ROUNDS=12
|
|
|
|
# CORS - Set to your actual frontend domain
|
|
CORS_ORIGIN="https://portal.asolutions.co.jp"
|
|
|
|
# Logging
|
|
LOG_LEVEL="info"
|