Files
Genarrative/deploy/env/health-patrol.env.example
T
lhk229 a2ee879fc8
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Native shell tests (push) Successful in 2m26s
Project CI / Frontend tests (push) Successful in 2m0s
Project CI / Backend tests (push) Successful in 3m1s
添加gfilter专用worker (#103)
Co-authored-by: kdletters <kdletters@qq.com>
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/103
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
2026-07-23 18:06:29 +08:00

23 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制到 /etc/genarrative/health-patrol.env 后按生产环境调整。
# 默认不启用 Pingora shadow 巡检;只有同时配置 base URL 与 probe token 才会检查。
GENARRATIVE_HEALTH_PATROL_API_BASE_URL=http://127.0.0.1:8082
# 巡检是独立进程,不读取 bgfilter-worker.env;若自定义了 GENARRATIVE_BGFILTER_WORKER_PORT
# 必须在此同步改为相同端口,否则巡检会持续误报 worker 不健康。
GENARRATIVE_HEALTH_PATROL_BGFILTER_BASE_URL=http://127.0.0.1:8083
GENARRATIVE_HEALTH_PATROL_SPACETIME_BASE_URL=http://127.0.0.1:3101
GENARRATIVE_HEALTH_PATROL_PUBLIC_BASE_URL=http://127.0.0.1
# 默认公网入口仍按 Nginx 巡检;Pingora 直连切换后改为 pingora-direct。
GENARRATIVE_HEALTH_PATROL_GATEWAY_MODE=nginx
# 本机打 127.0.0.1 时可填正式域名,确保命中正确 vhost / 证书语义。
GENARRATIVE_HEALTH_PATROL_PUBLIC_HOST=
GENARRATIVE_HEALTH_PATROL_TIMEOUT_MS=5000
GENARRATIVE_HEALTH_PATROL_SLOW_MS=3000
GENARRATIVE_HEALTH_PATROL_FAIL_ON_WARNING=false
GENARRATIVE_HEALTH_PATROL_SKIP_JOURNAL=false
GENARRATIVE_HEALTH_PATROL_WEBHOOK_URL=
# Pingora 影子网关巡检;probe token 应与 /etc/genarrative/pingora-gateway.env 保持一致。
GENARRATIVE_HEALTH_PATROL_PINGORA_BASE_URL=
GENARRATIVE_HEALTH_PATROL_PINGORA_PROBE_TOKEN=