You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/docs/admin
Alexandre Flament bd3f526859
Docker: add UWSGI_WORKERS and UWSGI_THREAD environment variables (#2992)
* Docker: add UWSGI_WORKERS and UWSGI_THREAD.

UWSGI_WORKERS specifies the number of process.
UWSGI_THREADS specifies the number of threads.

The Docker convention is to specify the whole configuration
through environment variables. While not done in SearXNG, these two
additional variables allows admins to skip uwsgi.ini

In additional, https://github.com/searxng/preview-environments starts Docker
without additional files through searxng-helm-chat.
Each instance consumes 1Go of RAM which is a lot especially when there are a
lot of instances / pull requests.

* [scripts] add environments UWSGI_WORKERS and UWSGI_THREADS

- UWSGI_WORKERS specifies the number of process.
- UWSGI_THREADS specifies the number of threads.

Templates for uwsgi scripts can be tested by::

    UWSGI_WORKERS=8 UWSGI_THREADS=9 \
      ./utils/searxng.sh --cmd\
      eval "echo \"$(cat utils/templates/etc/uwsgi/*/searxng.ini*)\""\
      | grep "workers\|threads"

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

---------

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
11 months ago
..
answer-captcha [doc] answer CAPTCHA from server's IP 1 year ago
settings [mod] document server:public_instance & remove it out of the botdetection 12 months ago
answer-captcha.rst [doc] answer CAPTCHA from server's IP 1 year ago
api.rst [mod] settings.yml: remove plugin settings for plugins that don't exist anymore 1 year ago
arch_public.dot [doc] update documentation of the installation procedures 2 years ago
architecture.rst [docs] corrections from @tiekoetter's review 2 years ago
buildhosts.rst [fix] typos in documentation & messages 1 year ago
index.rst [mod] isolation of botdetection from the limiter 12 months ago
installation-apache.rst [fix] spelling 1 year ago
installation-docker.rst Docker: add UWSGI_WORKERS and UWSGI_THREAD environment variables (#2992) 11 months ago
installation-nginx.rst [doc] rearranges Settings & Engines docs for better readability 1 year ago
installation-scripts.rst [fix] typos/grammar in docs 2 years ago
installation-searxng.rst [fix] typos in documentation & messages 1 year ago
installation-uwsgi.rst [doc] rearranges Settings & Engines docs for better readability 1 year ago
installation.rst [fix] typos/grammar in docs 2 years ago
plugins.rst [mod] documentation: change the jinja context doesn't depend on searx.webapp 4 years ago
searx.limiter.rst [mod] isolation of botdetection from the limiter 12 months ago
update-searxng.rst [fix] typos in documentation & messages 1 year ago