feat(env): add CRAWLER_SERVICE_TOKEN for crawler service login bypass
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user