Docker部署
// 部署 Open WebUI(常规初始化不需做任何变动,对接openclaw都在后续UI上配置)
sudo docker run -d
--name open-webui001
--network host
-e OPENWEBUI_HOST=0.0.0.0:3000
-v open-webui:/app/backend/data
--restart unless-stopped
open-webui/open-webui:main
docker.io/open-webui/open-webui:main
ghcr.io/open-webui/open-webui:main
xuanyuan.cloud/open-webui/open-webui:main
xuanyuan.me/open-webui/open-webui:main
sudo docker run -d --network host
-e OPENWEBUI_HOST=0.0.0.0:3000
-v open-webui:/app/backend/data
--name open-webui001
--restart unless-stopped
open-webui/open-webui:main
// 安装 Docker
sudo curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
// 部署 Searxng
1.
mkdir -p ./searxng/config ./searxng/data && cd ./searxng
2.
nano config/settings.yml:(文件内容如下)
// 先取默认
use_default_settings: true
search:
// 在允许的输出格式中,显式地加入 'json'
formats:
- html
- json
3.
sudo docker run -d
--name searxng \ (内部名字只在network host模式下显示,否则进程名显示为代理)
--network host \ (代理内部和宿主机共用端口资源)
-e OPENWEBUI_HOST=0.0.0.0:8888 \ (默认8080,network host网络模式下不能使用-p参数映射/修改端口)
-v "./config/:/etc/searxng/" \ (映射外目录:内目录)
-v "./data/:/var/cache/searxng/" \(映射外目录:内目录)
--restart unless-stopped
searxng/searxng:latest
sudo docker run -d
--name searxng
--network host
-e OPENWEBUI_HOST=0.0.0.0:8888
-v "./config/:/etc/searxng/"
-v "./data/:/var/cache/searxng/"
--restart unless-stopped
searxng/searxng:latest

浙公网安备 33010602011771号