|
@@ -4,8 +4,12 @@ uid = searxng
|
|
gid = searxng
|
|
gid = searxng
|
|
|
|
|
|
# Number of workers (usually CPU count)
|
|
# Number of workers (usually CPU count)
|
|
-workers = %k
|
|
|
|
-threads = 4
|
|
|
|
|
|
+# default value: %k (= number of CPU core, see Dockerfile)
|
|
|
|
+workers = $(UWSGI_WORKERS)
|
|
|
|
+
|
|
|
|
+# Number of threads per worker
|
|
|
|
+# default value: 4 (see Dockerfile)
|
|
|
|
+threads = $(UWSGI_THREADS)
|
|
|
|
|
|
# The right granted on the created socket
|
|
# The right granted on the created socket
|
|
chmod-socket = 666
|
|
chmod-socket = 666
|