mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user