feat(env): add CRAWLER_SERVICE_TOKEN for crawler service login bypass

This commit is contained in:
hamed
2026-07-23 22:56:12 +03:30
parent 111c1d2981
commit e7c2c2f06e
3 changed files with 22 additions and 0 deletions
+10
View File
@@ -49,6 +49,16 @@ ALLOWED_FRONTEND_HOSTS=ahvaz-nobat.ir,arak-nobat.ir,ardabil-nobat.ir,bandar-noba
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=
# ── Crawler service login (optional) ──
# Shared secret that lets the crawler / content pipeline bypass the LOGIN captcha
# only. Must equal CLINICPRO_SERVICE_TOKEN on the crawler side. Leave EMPTY unless
# ALTCHA is enabled (no captcha to bypass otherwise). Generate: openssl rand -hex 32
CRAWLER_SERVICE_TOKEN=
# ── Fixed app params (same values as the compose stack) ──
REFRESH_TOKEN_TTL=2592000
OTP_TTL=1200