- Rewrite quick-start for source clone & build (A: compose, B: docker run) - Expand frp section: full frps.toml, webui4frpc WebUI workflow, native frpc.toml, tunnel planning table - docker-compose: NAVI_PORT / SEARXNG_BASE_URL env passthrough, better docs - .env.example: document all vars incl token generation & base_url - Fix firefox debugging URL typo, extension token note
18 lines
631 B
Plaintext
18 lines
631 B
Plaintext
# 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=
|