fix(papermark): add missing EE env vars, increase RAM to 4096, add NODE_OPTIONS for build
- HANKO_API_KEY and NEXT_PUBLIC_HANKO_TENANT_ID are required at build time (module throws hard error if unset during page data collection) - QSTASH_TOKEN, NEXT_PRIVATE_DOCUMENT_PASSWORD_KEY, NEXT_PRIVATE_VERIFICATION_SECRET added as placeholders/random values - NODE_OPTIONS=--max-old-space-size=3584 for npm run build (Next.js OOM fix) - RAM raised from 2048 to 4096 (Next.js build requires ~3.5GB heap)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"config_path": "/opt/papermark/.env",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
"ram": 4096,
|
||||
"hdd": 8,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
@@ -37,4 +37,4 @@
|
||||
"type": "warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user