docs: document NAVI_FAVICON_PROXY and pass it through compose

新增的 favicon 抓取代理变量此前只存在于代码里:
- .env.example 补充说明与示例(默认留空,自动复用 SearXNG 的 outgoing.proxies)
- docker-compose.yml 透传该变量
- README 环境变量表补一行
This commit is contained in:
JianFeeeee
2026-09-11 11:00:40 +08:00
parent 0283985094
commit 73396cd5d4
3 changed files with 11 additions and 0 deletions

View File

@ -22,6 +22,10 @@ services:
# ---- 对外访问地址(公网域名,影响搜索结果页链接)----
# 例如 https://nav.example.com (不含 /search 子路径)
- SEARXNG_BASE_URL=${SEARXNG_BASE_URL:-http://localhost:3003}
# ---- 历史条目图标抓取(可选)----
# 留空则自动复用 searxng-settings.yml 里 outgoing.proxies 的代理
- NAVI_FAVICON_PROXY=${NAVI_FAVICON_PROXY:-}
healthcheck:
test: ["CMD", "curl", "-fs", "http://localhost:8080/healthz"]
interval: 30s