feat: Initial commit for Saqel Platform architecture, backend, Docker, and documentation
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# ==============================================================================
|
||||
# SAQEL PLATFORM - DOCKER ENVIRONMENT CONFIGURATION (PRODUCTION TEMPLATE)
|
||||
# ==============================================================================
|
||||
|
||||
# App Configuration
|
||||
APP_NAME=Saqel
|
||||
APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
APP_URL=https://api.saqel.com
|
||||
APP_PORT=8080
|
||||
|
||||
# Database Configuration (MySQL 8)
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=db
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=saqel
|
||||
DB_USERNAME=saqel_user
|
||||
DB_PASSWORD=YOUR_STRONG_DB_PASSWORD
|
||||
MYSQL_ROOT_PASSWORD=YOUR_STRONG_ROOT_PASSWORD
|
||||
|
||||
# Redis Configuration (Cache, Sessions, Queues, Device Fingerprint Locking)
|
||||
REDIS_CLIENT=phpredis
|
||||
REDIS_HOST=redis
|
||||
REDIS_PASSWORD=YOUR_REDIS_PASSWORD
|
||||
REDIS_PORT=6379
|
||||
|
||||
# JWT & Security Configuration
|
||||
JWT_SECRET=YOUR_RANDOM_256BIT_JWT_SECRET
|
||||
JWT_TTL=43200
|
||||
ENCRYPTION_KEY=YOUR_BASE64_AES_256_GCM_KEY
|
||||
BLIND_INDEX_KEY=YOUR_HMAC_SHA256_SECRET_KEY
|
||||
|
||||
# OTP Service (منصة تنبيه - Tanbih WhatsApp / SMS API)
|
||||
TANBIH_API_URL=https://api.tanbih.io/v1/send-otp
|
||||
TANBIH_API_KEY=YOUR_TANBIH_API_KEY
|
||||
TANBIH_SENDER_ID=Saqel
|
||||
|
||||
# Bunny Stream Video CDN & DRM
|
||||
BUNNY_API_KEY=YOUR_BUNNY_STREAM_API_KEY
|
||||
BUNNY_LIBRARY_ID=YOUR_BUNNY_LIBRARY_ID
|
||||
BUNNY_TOKEN_AUTH_KEY=YOUR_BUNNY_SECURITY_TOKEN_KEY
|
||||
BUNNY_CDN_HOSTNAME=video.saqel.com
|
||||
|
||||
# AI & Speech Services
|
||||
GEMINI_API_KEY=YOUR_GOOGLE_GEMINI_API_KEY
|
||||
GEMINI_MODEL=gemini-2.5-flash
|
||||
GROQ_API_KEY=YOUR_GROQ_WHISPER_API_KEY
|
||||
|
||||
# Push Notifications (Firebase Cloud Messaging)
|
||||
FIREBASE_CREDENTIALS_PATH=/var/www/storage/app/firebase-credentials.json
|
||||
Reference in New Issue
Block a user