42 lines
1.7 KiB
Text
42 lines
1.7 KiB
Text
# =============================================================================
|
|
# GoHorse Backoffice - Environment Variables
|
|
# =============================================================================
|
|
|
|
# Server
|
|
BACKOFFICE_PORT=3001
|
|
BACKOFFICE_HOST=0.0.0.0
|
|
NODE_ENV=development
|
|
|
|
# CORS Origins (comma-separated)
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:8963
|
|
|
|
# =============================================================================
|
|
# Stripe
|
|
# =============================================================================
|
|
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
|
|
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
|
|
STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key
|
|
|
|
# =============================================================================
|
|
# Database
|
|
# =============================================================================
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/gohorse_backoffice
|
|
|
|
# =============================================================================
|
|
# JWT
|
|
# =============================================================================
|
|
JWT_SECRET=your-super-secret-jwt-key
|
|
JWT_EXPIRATION=7d
|
|
|
|
# =============================================================================
|
|
# Cloudflare API (for cache management)
|
|
# =============================================================================
|
|
CLOUDFLARE_API_TOKEN=your-cloudflare-api-token
|
|
CLOUDFLARE_ZONE_ID=your-zone-id
|
|
|
|
# =============================================================================
|
|
# cPanel API (for email management)
|
|
# =============================================================================
|
|
CPANEL_HOST=https://cpanel.yourdomain.com:2083
|
|
CPANEL_USERNAME=your-cpanel-username
|
|
CPANEL_API_TOKEN=your-cpanel-api-token
|