Actual: Increase RAM and add heap-space var for nodejs (#3713)

* Actual: Increase RAM and add heap-space var for nodejs

* Update actualbudget.json

* increase hdd size

* node options
This commit is contained in:
CanbiZ
2025-04-07 09:06:46 +02:00
committed by GitHub
parent 4ae0352304
commit 86577a0d0d
3 changed files with 6 additions and 4 deletions

View File

@@ -55,6 +55,7 @@ ACTUAL_HTTPS_KEY=/opt/actualbudget/selfhost.key
ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt
EOF
cd /opt/actualbudget || exit
export NODE_OPTIONS="--max_old_space_size=4096"
$STD yarn install
$STD yarn run build:server
$STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfhost.key -out selfhost.crt <<EOF