1
0
mirror of https://lab.enough.community/fedeproxy/server synced 2024-12-28 11:29:58 +01:00

reduce the memory requirements by running a single worker

This commit is contained in:
Loic Dachary 2021-01-19 00:58:25 +01:00
parent b9615c87bb
commit 9cb223a51d
No known key found for this signature in database
GPG Key ID: 992D23B392F9E4F2

View File

@ -52,6 +52,7 @@ function run_gitlab() {
-e "GITLAB_SSH_PORT=222$serial" \
-p 222$serial:22 \
-p 818$serial:80 \
-e PUMA_WORKERS=1 \
-e GITLAB_SECRETS_SECRET_KEY_BASE=4W44tm7bJFRPWNMVzKngffxVWXRpVs49dxhFwgpx7FbCj3wXCMmsz47LzWsdr7nM \
-e GITLAB_SECRETS_DB_KEY_BASE=4W44tm7bJFRPWNMVzKngffxVWXRpVs49dxhFwgpx7FbCj3wXCMmsz47LzWsdr7nM \
-e GITLAB_SECRETS_OTP_KEY_BASE=4W44tm7bJFRPWNMVzKngffxVWXRpVs49dxhFwgpx7FbCj3wXCMmsz47LzWsdr7nM \
@ -62,7 +63,7 @@ function run_gitlab() {
function main() {
local action=$1
local serials="1"
local serials="1 2"
case $action in
cleanup)