46 lines
2 KiB
Text
Executable file
46 lines
2 KiB
Text
Executable file
# =============================================================================
|
|
# GoHorse Jobs Backend - Environment Variables
|
|
# =============================================================================
|
|
|
|
# Database Configuration (use DATABASE_URL format)
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/gohorsejobs?sslmode=disable
|
|
|
|
# =============================================================================
|
|
# S3/Object Storage (Civo S3-compatible)
|
|
# =============================================================================
|
|
AWS_REGION=nyc1
|
|
AWS_ACCESS_KEY_ID=your-access-key-id
|
|
AWS_SECRET_ACCESS_KEY=your-secret-access-key
|
|
AWS_ENDPOINT=https://objectstore.nyc1.civo.com
|
|
S3_BUCKET=your-bucket-name
|
|
|
|
# =============================================================================
|
|
# JWT Authentication
|
|
# =============================================================================
|
|
JWT_SECRET=change-this-to-a-strong-secret-at-least-32-characters
|
|
|
|
# =============================================================================
|
|
# Server Configuration
|
|
# =============================================================================
|
|
BACKEND_PORT=8521
|
|
BACKEND_HOST=localhost:8521
|
|
ENV=development
|
|
|
|
# CORS Origins (comma-separated)
|
|
# Development:
|
|
# CORS_ORIGINS=http://localhost:3000,http://localhost:8963
|
|
# Production:
|
|
CORS_ORIGINS=https://gohorsejobs.com,https://gohorsejobs-dev.appwrite.network,https://api-dev2.gohorsejobs.com
|
|
|
|
# =============================================================================
|
|
# 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
|