searxng/docs/admin/installation-docker.rst
Alexandre Flament 20580bcbd4 [docker] multiarch support: linux/amd64,linux/arm64,linux/arm/v7
make docker.buildx : build and push multiarch build.
(it can't be only build)

use buildx with the --cache-from and --cache-to options to cache the layers
(only the last built is cached)
2021-04-28 14:40:00 +02:00

1.3 KiB

Docker installation

Contents


Docker image searxng/searxng

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

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

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

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 searxng/searxng -h

../dockerfiles/docker-entrypoint.sh help

Build the image

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

git clone https://github.com/searxng/searxng.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