Predictable memory usage
Signed-off-by: Rafael Caricio <rafael@caricio.com>
This commit is contained in:
parent
15d4435d80
commit
2edb8d8e15
2 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Privacy-respecting metasearch engine",
|
||||
"version": "1.0.0",
|
||||
"memoryLimit": 589719142400,
|
||||
"healthCheckPath": "/",
|
||||
"httpPort": 8888,
|
||||
"addons": {
|
||||
|
|
1
start.sh
1
start.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue