43 lines
1.4 KiB
Text
Executable file
43 lines
1.4 KiB
Text
Executable file
# Environment variables for GoHorse Jobs Backend
|
|
|
|
# Database Configuration (preferred: use DATABASE_URL)
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/gohorsejobs?sslmode=require
|
|
|
|
# Alternative: Individual params (used if DATABASE_URL not set)
|
|
# DB_HOST=localhost
|
|
# DB_PORT=5432
|
|
# DB_USER=postgres
|
|
# DB_PASSWORD=yourpassword
|
|
# DB_NAME=gohorsejobs
|
|
# DB_SSLMODE=require
|
|
|
|
# S3/Object Storage Configuration (Civo S3-compatible)
|
|
AWS_REGION=nyc1
|
|
AWS_ACCESS_KEY_ID=your-access-key
|
|
AWS_SECRET_ACCESS_KEY=your-secret-key
|
|
AWS_ENDPOINT=https://objectstore.nyc1.civo.com
|
|
S3_BUCKET=your-bucket-name
|
|
|
|
# JWT Secret (CHANGE IN PRODUCTION!)
|
|
JWT_SECRET=your-secret-key-change-this-in-production-use-strong-random-value
|
|
|
|
# Server Configuration
|
|
PORT=8521
|
|
ENV=development
|
|
API_HOST=localhost:8521
|
|
|
|
# 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
|