on engine-data help sign in
searx/docs/admin/installation-docker.rst
60 lines 1.3 kB history raw
1.. _installation docker:
3===================
4Docker installation
5===================
7.. contents:: Contents
8 :depth: 2
9 :local:
10 :backlinks: entry
12----
14Docker image searx/searx
15========================
18The docker image is `searx/searx <https://hub.docker.com/r/searx/searx>`_ (based on `github.com/searx/searx <https://github.com/searx/searx>`_).
20Make sure you have `installed Docker <https://docs.docker.com/get-docker/>`_. For instance, you can deploy a local instance:
22.. code:: sh
24 export PORT=80
25 docker pull searx/searx
26 docker run --rm -d -v ${PWD}/searx:/etc/searx -p $PORT:8080 -e BASE_URL=http://localhost:$PORT/ searx/searx
28Go to ``http://localhost:$PORT``.
30Inside ``${PWD}/searx``, you will find ``settings.yml`` and ``uwsgi.ini``.
31You can modify these files according to your needs and restart the Docker image.
34Command line
35------------
38.. code:: sh
40 docker run --rm -it searx/searx -h
42.. program-output:: ../dockerfiles/docker-entrypoint.sh help
45Build the image
46---------------
48It's also possible to build searx from the embedded Dockerfile.
50.. code:: sh
52 git clone https://github.com/searx/searx.git
53 cd searx
54 make docker
57Public instance
58===============
60If you intend to create a public instance using Docker, see https://github.com/searx/searx-docker