1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-07-13 19:27:45 +02:00
wiki/wiki/searx.md

49 lines
1.2 KiB
Markdown

# Searx
[Searx](https://searx.me) is a free metasearch engine.
## Setup
### Docker
The official container and documentation was made by [searx](https://hub.docker.com/r/searx/searx).
#### Volumes
Set the following volumes with the -v tag.
| Volume-Name | Container mount | Description |
| ----------- | ---------------- | ---------------- |
| `searx_etc` | `/etc/searx` | storage for etc |
| `searx_log` | `/var/log/uwsgi` | storage for logs |
#### Ports
Set the following ports with the -p tag.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ----------- |
| `8080` | `8080` | TCP | WebUI |
#### Rebuild
```shell
#!/bin/sh
docker stop searx
docker rm searx
docker pull searx/searx
docker run --name searx \
--restart unless-stopped \
-v searx_etc:/etc/searx \
-v searx_log:/var/log/uwsgi \
-p 8080:8080 \
-d searx/searx
```
## Adding to Firefox
Add Searx as a new search engine for firefox and set it as main search for the
address bar as described in [the Firefox article](./firefox.md).
Follow the instructions by the addon and put searx with
`<url to searx instance>/search?q=%s` as search string.