mirror of
https://github.com/tiyn/wiki.git
synced 2026-05-01 15:41:35 +02:00
docker-image folder added
The docker-images where scattered across different files. For faster access i moved them to an extra folder and linked them if they're needed elsewhere. entries that where outside this folder and only contained basic documentation of the docker image where removed.
This commit is contained in:
@@ -2,41 +2,9 @@
|
||||
|
||||
[Searx](https://searx.me) is a free metasearch engine.
|
||||
|
||||
## Setup with Docker
|
||||
## Server
|
||||
|
||||
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
|
||||
```
|
||||
A server can be setup via docker with the [searx image](./docker-images/searx_-_searx.md).
|
||||
|
||||
## Adding to Firefox
|
||||
|
||||
|
||||
Reference in New Issue
Block a user