feat(sms): simplify SMS settings to use only KAVENEGAR_API_KEY from env, remove other SMS-related fields from config

This commit is contained in:
hamed
2026-07-01 11:53:16 +03:30
parent 9d8d1014f1
commit b366baa64c
11 changed files with 352 additions and 92 deletions
+5 -2
View File
@@ -55,9 +55,12 @@ TRUSTED_PROXIES=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.1
API_IR_BASE_URL=https://s.api.ir
API_IR_TOKEN=
# ── SMS ──
# Kavenegar API key is read ONLY from this env (not the DB).
KAVENEGAR_API_KEY=
# ── Notes ──
# • SMS keys (kavenegar/rangineh) and payment gateway keys (mellat/sep) are read
# from the DB ("Site Settings"), NOT from env. No need to set them here.
# • Payment gateway keys (mellat/sep) are read from the DB ("Site Settings"), NOT from env.
# • REFRESH_TOKEN_TTL / OTP_TTL / MAX_FILE_SIZE_BYTES are fixed in the compose file.
# • MariaDB & Redis are separate Coolify resources — see DATABASE_URL/REDIS_URL above.