OOM
This commit is contained in:
@@ -9,7 +9,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
|
||||
APP="Twenty"
|
||||
var_tags="${var_tags:-crm;business;contacts}"
|
||||
var_cpu="${var_cpu:-4}"
|
||||
var_ram="${var_ram:-8192}"
|
||||
var_ram="${var_ram:-10240}"
|
||||
var_disk="${var_disk:-20}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
|
||||
@@ -31,7 +31,7 @@ export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||
$STD corepack enable
|
||||
$STD corepack prepare yarn@4.9.2 --activate
|
||||
$STD yarn install --immutable || $STD yarn install
|
||||
export NODE_OPTIONS="--max-old-space-size=3072"
|
||||
export NODE_OPTIONS="--max-old-space-size=4096"
|
||||
$STD npx nx run twenty-server:build
|
||||
$STD npx nx build twenty-front
|
||||
cp -r /opt/twenty/packages/twenty-front/build /opt/twenty/packages/twenty-server/dist/front
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"script": "ct/twenty.sh",
|
||||
"resources": {
|
||||
"cpu": 4,
|
||||
"ram": 8192,
|
||||
"ram": 10240,
|
||||
"hdd": 20,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
|
||||
Reference in New Issue
Block a user