searxng/docs/admin/installation-docker.rst
Markus Heiser 34badee467 [doc] modify docs to fit to the new build boilerplate
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-23 11:26:22 +02:00

1.3 KiB

Docker installation

Contents


Docker image searx/searx

The docker image is searx/searx (based on github.com/searx/searx).

Make sure you have installed Docker. For instance, you can deploy a local instance:

export PORT=80
docker pull searx/searx
docker run --rm -d -v ${PWD}/searx:/etc/searx -p $PORT:8080 -e BASE_URL=http://localhost:$PORT/ searx/searx

Go to http://localhost:$PORT.

Inside ${PWD}/searx, you will find settings.yml and uwsgi.ini. You can modify these files according to your needs and restart the Docker image.

Command line

docker run --rm -it searx/searx -h

../dockerfiles/docker-entrypoint.sh help

Build the image

It's also possible to build searx from the embedded Dockerfile.

git clone https://github.com/searx/searx.git
cd searx
make docker.build

Public instance

If you intend to create a public instance using Docker, see https://github.com/searx/searx-docker