|
|
@ -7,7 +7,7 @@ The official container and documentation was made by
|
|
|
|
|
|
|
|
|
|
|
|
## Set-up
|
|
|
|
## Set-up
|
|
|
|
|
|
|
|
|
|
|
|
Create the file `rebuild.sh`.
|
|
|
|
Create the files `rebuild.sh` and `docker-compose.yml` at the same place.
|
|
|
|
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
|
|
|
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
|
|
|
|
|
|
|
|
|
|
|
## Volumes
|
|
|
|
## Volumes
|
|
|
@ -31,13 +31,27 @@ Set the following ports with the -p tag.
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
docker stop searx
|
|
|
|
docker-compose down
|
|
|
|
docker rm searx
|
|
|
|
docker-compose up -d
|
|
|
|
docker pull searx/searx
|
|
|
|
```
|
|
|
|
docker run --name searx \
|
|
|
|
|
|
|
|
--restart unless-stopped \
|
|
|
|
## docker-compose.yml
|
|
|
|
-v searx_etc:/etc/searx \
|
|
|
|
|
|
|
|
-v searx_log:/var/log/uwsgi \
|
|
|
|
```sh
|
|
|
|
-p 8080:8080 \
|
|
|
|
version: "2.1"
|
|
|
|
-d searx/searx
|
|
|
|
services:
|
|
|
|
|
|
|
|
searx:
|
|
|
|
|
|
|
|
image: searx/searx
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- etc:/etc/searx
|
|
|
|
|
|
|
|
- log:/var/log/uwsgi
|
|
|
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
ports:
|
|
|
|
|
|
|
|
- 8080:8080
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
etc:
|
|
|
|
|
|
|
|
driver: local
|
|
|
|
|
|
|
|
log:
|
|
|
|
|
|
|
|
driver: local
|
|
|
|
```
|
|
|
|
```
|
|
|
|