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:
parent
4ae0352304
commit
86577a0d0d
@ -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
|
||||
|
@ -19,8 +19,8 @@
|
||||
"script": "ct/actualbudget.sh",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
"hdd": 4,
|
||||
"ram": 8192,
|
||||
"hdd": 7,
|
||||
"os": "debian",
|
||||
"version": "12"
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user