Files
igny8/.env.staging.example
IGNY8 VPS (Salman) 4a200822bb Dev ops prep
2026-01-21 17:53:42 +00:00

84 lines
2.9 KiB
Plaintext

# =============================================================================
# IGNY8 STAGING ENVIRONMENT CONFIGURATION
# =============================================================================
# Copy this file to .env.staging and configure values
# This environment runs alongside production with separate database/redis
# =============================================================================
# Environment Identifier
DJANGO_ENV=staging
DEBUG=False
# Database (Uses separate staging database)
DB_HOST=postgres
DB_NAME=igny8_staging_db
DB_USER=igny8
DB_PASSWORD=igny8pass
DB_PORT=5432
# Redis (Uses DB index 1 instead of 0)
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=1
# Security (Generate unique key for staging)
SECRET_KEY=staging-secret-key-CHANGE-THIS-TO-UNIQUE-VALUE
ALLOWED_HOSTS=staging-api.igny8.com,staging.igny8.com,localhost,127.0.0.1
CORS_ALLOWED_ORIGINS=https://staging.igny8.com,https://staging-api.igny8.com
# =============================================================================
# API Keys - USE TEST/SANDBOX KEYS FOR STAGING
# =============================================================================
# AI Services (can use same keys or separate test keys)
OPENAI_API_KEY=sk-your-openai-key
ANTHROPIC_API_KEY=sk-ant-your-anthropic-key
# Image Generation
RUNWARE_API_KEY=your-runware-key
BRIA_API_KEY=your-bria-key
# =============================================================================
# Payment Gateways - MUST USE SANDBOX/TEST MODE
# =============================================================================
# Stripe (TEST MODE)
STRIPE_SECRET_KEY=sk_test_your_stripe_test_key
STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_test_key
STRIPE_WEBHOOK_SECRET=whsec_test_your_webhook_secret
# PayPal (SANDBOX MODE)
PAYPAL_CLIENT_ID=sandbox_client_id
PAYPAL_CLIENT_SECRET=sandbox_client_secret
PAYPAL_MODE=sandbox
# =============================================================================
# Email - Use test email service or same service
# =============================================================================
RESEND_API_KEY=re_your_resend_key
BREVO_API_KEY=your_brevo_key
DEFAULT_FROM_EMAIL=staging@igny8.com
# =============================================================================
# URLs
# =============================================================================
FRONTEND_URL=https://staging.igny8.com
BACKEND_URL=https://staging-api.igny8.com
MARKETING_URL=https://staging-marketing.igny8.com
# =============================================================================
# Feature Flags (can enable/disable features for testing)
# =============================================================================
ENABLE_LINKER=True
ENABLE_OPTIMIZER=True
ENABLE_SOCIALIZER=False
# =============================================================================
# Logging
# =============================================================================
LOG_LEVEL=DEBUG