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
+8
View File
@@ -60,6 +60,14 @@ API_IR_TOKEN=
# 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 (password + rate-limit still apply). Must equal CLINICPRO_SERVICE_TOKEN on
# the crawler side. Passed to the container via docker-compose (x-app-env).
# Leave EMPTY unless ALTCHA is enabled — the compose ships ALTCHA_ENABLED=false, so
# there is no captcha to bypass. Generate with: openssl rand -hex 32
CRAWLER_SERVICE_TOKEN=
# ── Notes ──
# • 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.