1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-20 14:28:07 +00:00

Updating to 4GB with higher old heap size (#3730)

This commit is contained in:
Danny Ellis 2025-04-08 02:31:00 -06:00 committed by GitHub
parent efcd660e55
commit 4ce9551f60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
APP="Actual Budget" APP="Actual Budget"
var_tags="finance" var_tags="finance"
var_cpu="2" var_cpu="2"
var_ram="8192" var_ram="4096"
var_disk="7" var_disk="7"
var_os="debian" var_os="debian"
var_version="12" var_version="12"
@ -84,7 +84,7 @@ ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt
EOF EOF
fi fi
cd /opt/actualbudget || exit cd /opt/actualbudget || exit
export NODE_OPTIONS="--max_old_space_size=4096" export NODE_OPTIONS="--max_old_space_size=3072"
$STD yarn install $STD yarn install
$STD yarn run build:server $STD yarn run build:server
#$STD yarn workspaces focus @actual-app/sync-server --production #$STD yarn workspaces focus @actual-app/sync-server --production

View File

@ -19,7 +19,7 @@
"script": "ct/actualbudget.sh", "script": "ct/actualbudget.sh",
"resources": { "resources": {
"cpu": 2, "cpu": 2,
"ram": 8192, "ram": 4096,
"hdd": 7, "hdd": 7,
"os": "debian", "os": "debian",
"version": "12" "version": "12"

View File

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