# ============================================================================= # 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 JWT_EXPIRATION=7d PASSWORD_PEPPER=some-random-string-for-password-hashing COOKIE_SECRET=change-this-to-something-secure COOKIE_DOMAIN=localhost # ============================================================================= # Server Configuration # ============================================================================= BACKEND_PORT=8521 BACKEND_HOST=localhost:8521 ENV=development # CORS Origins (comma-separated) CORS_ORIGINS=http://localhost:3000,http://localhost:8963 # ============================================================================= # 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