-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (33 loc) · 1.34 KB
/
Copy path.env.example
File metadata and controls
42 lines (33 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
APP_NAME="HaditsSoft"
APP_PORT=8081
APP_URL="http://127.0.0.1:${APP_PORT}"
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=your-admin-password-here
DB_CREDENTIAL="haditssoft.db?_busy_timeout=5000"
JWT_SECRET=your-jwt-secret-here
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="${APP_NAME}"
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
RECAPTCHA_KEY=
# opencode CLI is called via `opencode run --format json --pure` (no HTTP server needed).
# Optional: model override in provider/model format. Leave empty to use opencode default model.
# Available free models (as of 2026-08): hy3-free, mimo-v2.5-free, muse-spark-1.2-contributor-free
OPENCODE_PROVIDER_ID=
OPENCODE_MODEL_ID=
# Agent for the /ai/ask endpoint (translate endpoint always uses --agent translate).
# Agents are defined in .opencode/agents/ directory.
OPENCODE_AGENT=plan
# Secret key for the cron-only translation endpoint: POST /ai/cron/translate/:kitabName?key=...
OPENCODE_CRON_KEY=your-cron-secret-key-here
# Retry config for translation endpoint (opencode upstream can be flaky).
# OPENCODE_TRANSLATE_RETRY_COUNT: total attempts including initial call (default 3, min 1)
# OPENCODE_TRANSLATE_RETRY_DELAY: seconds between retries (default 30, min 1)
OPENCODE_TRANSLATE_RETRY_COUNT=3
OPENCODE_TRANSLATE_RETRY_DELAY=30