
paulgoio/searxng
SearXNG image with changed simple theme, settings.yml
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
SearXNG
builds custom SearXNG container with a changed simple theme and settings.yml; This project builds on top of https://github.com/searxng/searxng
Project Links
Production Server / Instance : [***]
Docker Hub : https://hub.docker.com/r/paulgoio/searxng
GitHub : https://github.com/paulgoio/searxng
GitLab : [***]
Basic Example
-
docker run -it --rm -p 8080:8080 paulgoio/searxng:production -
After that just visit [***] in your browser and stop the server with ctrl-c
Production Setup
Check out the docker-compose.yml file in this repo for reference
Development
-
Clone this repo:
git clone https://github.com/paulgoio/searxng.git -
After making your changes in
src/lessmake sure to updatesrc/cssby runningupdate.sh(python, npm and make needed) -
You can build the docker container locally by running (check out base branch for the alpine base with the needed python packages):
docker build --pull -f ./Dockerfile -t searxng-dev:latest . -
Debug the local container with:
docker run -it --rm -p 8080:8080 searxng-dev:latest
Environment Variables (all optional: if not set -> using default settings)
-
IMAGE_PROXY: enable the image proxyfication through SearXNG; the built-in image proxy is used (set this totrue) -
FAVICON_RESOLVER: by default disabled; set a favicon resolver (this requires a local database file defined in src/favicons.toml) (for examplegoogle) -
REDIS_URL: set the URL of Redis server to store data for limiter plugin (for exampleredis://redis:6379/0orunix:///usr/local/searxng-redis/run/redis.sock?db=0) -
LIMITER: limit bot traffic; this option also requires Redis to be set up -
METRICS_PASSWORD: enable the /metrics endpoint with basic auth for ingestion via prometheus (username can be any string, password is the set password, for example:pass123,|is not allowed in the password) -
BASE_URL: set the base URL (for example example.org would havehttps://example.org/as base) -
NAME: set the name of the instance, which is for example displayed in the title of the site (for examplePaulGO) -
PRIVACYPOLICY: set URL of privacy policy of the instance (for examplehttps://example.org/privacy-policy) -
CONTACT: set instance maintainer contact (for examplemailto:user@example.org) -
ISSUE_URL: set issue URL for custom SearXNG repo (for examplehttps://github.com/paulgoio/searxng/issues!Without trailing /) -
GIT_URL: set git URL for custom SearXNG repo (for examplehttps://github.com/paulgoio/searxng) -
GIT_BRANCH: set git branch for custom SearXNG repo (for examplemain) -
PROXY: set proxy servers that are applied as round robin for all engines; separate multiple proxies with a comma (for examplehttp://example.org:8080,http://proxy.example.net) -
SEARCH_DEFAULT_LANG: Set the default language used for search queries. By default, this is set to auto to autodetect the language from the query string (for exampleen-US) -
SEARCH_ENGINE_ACCESS_DENIED: Set the suspension timeout in seconds if a search engine throws a SEARCH_ENGINE_ACCESS_DENIED exception, by default this value is set to86400(e.g. 1 day) -
PUBLIC_INSTANCE: Set instance as public instance to enable some optional features, that are only relevent to public instances (defaults to false, can be set totrue)
Deployment & Usage Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
镜像拉取常见问题
功能
错误码
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务