gohorsejobs/backend/.env.example
2026-01-13 19:57:53 -03:00

79 lines
3.5 KiB
Text
Executable file

# =============================================================================
# GoHorse Jobs Backend - Environment Variables
# =============================================================================
# =============================================================================
# Seeding Configuration
# =============================================================================
ADMIN_EMAIL=master@gohorsejobs.com
ADMIN_PASSWORD=teste1234
# 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
# =============================================================================
# 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
# =============================================================================
# Gateway de Pagamento (Fictício)
# =============================================================================
PAYMENT_GATEWAY_MERCHANT_ID=merchant_demo
PAYMENT_GATEWAY_API_KEY=fake_gateway_key
PAYMENT_GATEWAY_ENDPOINT=https://payments.example.com/api
PAYMENT_GATEWAY_WEBHOOK_SECRET=fake_webhook_secret
# =============================================================================
# cPanel API (for email management)
# =============================================================================
CPANEL_HOST=https://cpanel.yourdomain.com:2083
CPANEL_USERNAME=your-cpanel-username
CPANEL_API_TOKEN=your-cpanel-api-token
# =============================================================================
# Email Service (Resend)
# =============================================================================
RESEND_API_KEY=re_xxxx_your_api_key
EMAIL_FROM=noreply@gohorsejobs.com
APP_URL=https://gohorsejobs.com
# =============================================================================
# LavinMQ (AMQP)
# =============================================================================
AMQP_URL=amqps://nwigjply:nwEGZdcfz3--H8xc68IKmjiBCVtI09Cq@horse.lmq.cloudamqp.com/nwigjply