1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-19 06:58:07 +00:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View File

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

View File

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

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