Predictable memory usage

Signed-off-by: Rafael Caricio <rafael@caricio.com>
This commit is contained in:
Rafael Caricio 2022-07-08 19:04:48 +02:00
parent 15d4435d80
commit 2edb8d8e15
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
"changelog": "file://CHANGELOG",
"tagline": "Privacy-respecting metasearch engine",
"version": "1.0.0",
"memoryLimit": 589719142400,
"healthCheckPath": "/",
"httpPort": 8888,
"addons": {

View file

@ -10,6 +10,7 @@ if [[ ! -f /app/data/uwsgi.ini ]]; then
-e "s/chdir = .*/chdir = \/app\/code\/searx/g" \
-e "s/uid = .*/uid = www-data/g" \
-e "s/gid = .*/gid = www-data/g" \
-e "s/workers = .*/workers = 4/g" \
-e "s/static-map = \/static=.*/static-map = \/static=\/app\/code\/searx\/static/g" \
-i /app/data/uwsgi.ini
fi