Files
HomeDash/.env.example
JianFeeeee 73396cd5d4 docs: document NAVI_FAVICON_PROXY and pass it through compose
新增的 favicon 抓取代理变量此前只存在于代码里:
- .env.example 补充说明与示例(默认留空,自动复用 SearXNG 的 outgoing.proxies)
- docker-compose.yml 透传该变量
- README 环境变量表补一行
2026-09-11 11:00:40 +08:00

24 lines
1006 B
Plaintext
Raw Permalink 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.

# JianF 统一导航服务环境变量
# 复制此文件为 .env 并修改,然后 docker compose up -d
# 宿主机对外端口(Dashy/搜索/管理统一入口)
NAVI_PORT=3003
# 对外访问地址(浏览器打开的域名/地址,影响搜索结果页与跳转链接)
# 有公网域名填 https://nav.example.com
# 纯内网用 http://<内网IP>:3003
SEARXNG_BASE_URL=http://localhost:3003
# 浏览器插件同步令牌(建议生成随机长串;插件设置里要填同一个值)
# 生成: openssl rand -hex 24
NAVI_SYNC_TOKEN=
# 管理后台/API 写操作令牌(建议生成随机长串)
NAVI_ADMIN_TOKEN=
# ── 历史条目的站点图标(一般不用填)──
# 服务端会后台抓取每个历史 host 的 favicon 并缓存到 data/item-icons/。
# 内网地址只直连;外网站点直连失败时会自动复用下面 searxng-settings.yml
# 里 outgoing.proxies 的代理。仅当需要单独指定时才取消注释:
# NAVI_FAVICON_PROXY=http://<proxy-ip>:7890