44 lines
1.3 KiB
Text
Executable file
44 lines
1.3 KiB
Text
Executable file
# Environment variables for GoHorse Jobs Backend
|
|
|
|
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USER=postgres
|
|
DB_PASSWORD=yourpassword
|
|
DB_NAME=gohorsejobs
|
|
DB_SSLMODE=disable
|
|
|
|
# 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
|
|
|
|
# CORS Origins (comma-separated)
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:8963
|
|
|
|
# File Upload
|
|
MAX_UPLOAD_SIZE=10485760
|
|
UPLOAD_DIR=./uploads
|
|
|
|
# =============================================================================
|
|
# 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
|
|
|