utils/searx.sh: add script to install isolated searx service

First version which serves searx over uwsgi at http://127.0.0.1:8888

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-01-20 16:55:05 +01:00
parent 89df9d9141
commit 9b5a7f7559
3 changed files with 160 additions and 47 deletions

View file

@ -10,7 +10,7 @@ uid = ${SERVICE_USER}
gid = ${SERVICE_GROUP}
# chdir to specified directory before apps loading
chdir = ${SEARX_SRC}
chdir = ${SEARX_SRC}/searx
# disable logging for privacy
disable-logging = true
@ -28,7 +28,7 @@ master = true
lazy-apps = true
# load uWSGI plugins
plugin = python3
plugin = python3,http
# By default the Python plugin does not initialize the GIL. This means your
# app-generated threads will not run. If you need threads, remember to enable
@ -50,7 +50,7 @@ module = searx.webapp
virtualenv = ${SEARX_PYENV}
# add directory (or glob) to pythonpath
pythonpath = ${SERVICE_HOME}
pythonpath = ${SEARX_SRC}
# plugin http