mirror of
https://github.com/vernu/textbee.git
synced 2026-04-17 13:28:36 -04:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
PORT=3001
|
||
MONGO_URI=mongodb://adminUser:adminPassword@textbee-db:27017/textbee?authSource=admin
|
||
|
||
# to setup initial password
|
||
MONGO_ROOT_USER=adminUser
|
||
MONGO_ROOT_PASS=adminPassword
|
||
|
||
JWT_SECRET=secret # change this to a secure random string
|
||
JWT_EXPIRATION=60d
|
||
|
||
FRONTEND_URL=http://localhost:3000
|
||
|
||
#Update from Firebase service account json file
|
||
FIREBASE_PROJECT_ID=
|
||
FIREBASE_PRIVATE_KEY_ID=
|
||
FIREBASE_PRIVATE_KEY=
|
||
FIREBASE_CLIENT_EMAIL=
|
||
FIREBASE_CLIENT_ID=
|
||
FIREBASE_CLIENT_C509_CERT_URL=
|
||
|
||
MAIL_HOST=
|
||
MAIL_PORT=
|
||
MAIL_USER=
|
||
MAIL_PASS=
|
||
MAIL_FROM=
|
||
MAIL_REPLY_TO=
|
||
ADMIN_EMAIL=
|
||
|
||
# Webhook delivery HTTP timeout in milliseconds (default 30000, min 10000, max 60000)
|
||
WEBHOOK_DELIVERY_TIMEOUT_MS=30000
|
||
|
||
# Auto-disable webhook subscriptions with high failure rate (cron runs daily)
|
||
WEBHOOK_AUTO_DISABLE_FAILURE_THRESHOLD=50
|
||
WEBHOOK_AUTO_DISABLE_LOOKBACK_DAYS=30
|
||
# Min failure rate 0–1 to disable (e.g. 0.50 = 50%; only disable when failures/total >= this)
|
||
WEBHOOK_AUTO_DISABLE_MIN_FAILURE_RATE=0.50
|
||
|
||
# SMS Queue Configuration
|
||
USE_SMS_QUEUE=false
|
||
REDIS_URL=redis://localhost:6379 # if queue is enabled, redis url is required
|
||
|
||
CLOUDFLARE_TURNSTILE_SECRET_KEY=1x0000000000000000000000000000000AA |