Files
saqel/backend/.env.example
T

51 lines
1.3 KiB
Bash

# ==========================================
# SAQEL ENVIRONMENT CONFIGURATION TEMPLATE
# ==========================================
# Application Environment
APP_ENV=production
APP_DEBUG=false
APP_URL=https://saqel.intaleqapp.com
# Database Connection
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=saqel_db
DB_USERNAME=saqel_user
DB_PASSWORD=your_secure_db_password
# Authentication & Security
JWT_SECRET=your_super_secret_jwt_key_here
ENCRYPTION_KEY=replace_with_at_least_32_random_characters
HMAC_SALT=replace_with_a_separate_long_random_secret
# Redis is required for OTP and active-session enforcement
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DATABASE=0
# Browser/API access
ALLOWED_ORIGIN=https://saqel.intaleqapp.com
# JSON array populated from the real inference-node monitor (empty means no nodes reported)
SAQEL_AI_NODES_JSON=[]
# Gemini AI API Configuration
GEMINI_API_KEY=your_gemini_api_key_here
GEMINI_MODEL=gemini-2.0-flash
# Cloudflare R2 Object Storage & CDN
CLOUDFLARE_R2_ACCOUNT_ID=
CLOUDFLARE_R2_ACCESS_KEY=
CLOUDFLARE_R2_SECRET_KEY=
CLOUDFLARE_R2_ENDPOINT=https://<account_id>.r2.cloudflarestorage.com
CLOUDFLARE_R2_BUCKET=saqel-media
CLOUDFLARE_R2_PUBLIC_URL=https://pub-<hash>.r2.dev
# Bunny.net Stream CDN (Optional Alternative)
BUNNY_STREAM_LIBRARY_ID=
BUNNY_STREAM_API_KEY=
BUNNY_STREAM_TOKEN_KEY=
BUNNY_STREAM_HOST=