summaryrefslogtreecommitdiff
path: root/dockerfiles/uwsgi.ini
diff options
context:
space:
mode:
Diffstat (limited to 'dockerfiles/uwsgi.ini')
-rw-r--r--dockerfiles/uwsgi.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini
index 357d3c40a..dfde9109a 100644
--- a/dockerfiles/uwsgi.ini
+++ b/dockerfiles/uwsgi.ini
@@ -3,6 +3,10 @@
# default value: [::]:8080 (see Dockerfile)
http-socket = $(BIND_ADDRESS)
+# Who will run the code
+uid = searxng
+gid = searxng
+
# Number of workers (usually CPU count)
# default value: %k (= number of CPU core, see Dockerfile)
workers = $(UWSGI_WORKERS)
@@ -17,6 +21,7 @@ chmod-socket = 666
# Plugin to use and interpreter config
single-interpreter = true
master = true
+plugin = python3
lazy-apps = true
enable-threads = true