mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
Update web_search.md
This commit is contained in:
parent
8291a6bca8
commit
2a9852710e
@ -47,7 +47,7 @@ Add the following to the `.env` file:
|
|||||||
# By default listen on https://localhost
|
# By default listen on https://localhost
|
||||||
# To change this:
|
# To change this:
|
||||||
# * uncomment SEARXNG_HOSTNAME, and replace <host> by the SearXNG hostname
|
# * uncomment SEARXNG_HOSTNAME, and replace <host> by the SearXNG hostname
|
||||||
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (require to create a Let's Encrypt certificate)
|
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (required to create a Let's Encrypt certificate)
|
||||||
|
|
||||||
|
|
||||||
SEARXNG_HOSTNAME=example.locale
|
SEARXNG_HOSTNAME=example.locale
|
||||||
@ -74,7 +74,8 @@ sudo chmod a+rwx searxng-docker/searxng
|
|||||||
```bash
|
```bash
|
||||||
|
|
||||||
cat > searxng-docker/searxng/limiter.toml << EOF
|
cat > searxng-docker/searxng/limiter.toml << EOF
|
||||||
# This configuration file updates the default configuration file See https://github.com/searxng/searxng/blob/master/searx/botdetection/limiter.toml
|
# This configuration file updates the default configuration file
|
||||||
|
# See https://github.com/searxng/searxng/blob/master/searx/botdetection/limiter.toml
|
||||||
|
|
||||||
[botdetection.ip_limit]
|
[botdetection.ip_limit]
|
||||||
# activate link_token method in the ip_limit method
|
# activate link_token method in the ip_limit method
|
||||||
@ -118,6 +119,8 @@ Change the `bind_address` as desired:
|
|||||||
sed -i 's/bind_address: "0.0.0.0"/bind_address: "127.0.0.1"/' searxng-docker/searxng/settings.yml
|
sed -i 's/bind_address: "0.0.0.0"/bind_address: "127.0.0.1"/' searxng-docker/searxng/settings.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Now, copy the modified `searxng` folder to the same directory as your compose file.
|
||||||
|
|
||||||
#### Configuration Files
|
#### Configuration Files
|
||||||
|
|
||||||
#### searxng-docker/searxng/settings.yml (Extract)
|
#### searxng-docker/searxng/settings.yml (Extract)
|
||||||
@ -221,8 +224,6 @@ offload-threads = 4
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
Now, copy the modified `searxng` folder to the same directory as your compose file.
|
|
||||||
|
|
||||||
Alternatively, if you don't want to modify the default configuration, you can simply create an empty `searxng-docker` folder and follow the rest of the setup instructions.
|
Alternatively, if you don't want to modify the default configuration, you can simply create an empty `searxng-docker` folder and follow the rest of the setup instructions.
|
||||||
|
|
||||||
### 2. Docker Compose Setup
|
### 2. Docker Compose Setup
|
||||||
|
Loading…
Reference in New Issue
Block a user