fix(cloud): allow explicitly disabled box runtime

This commit is contained in:
dadachann
2026-07-30 15:42:49 +00:00
parent dd95545309
commit d155d9d5a8
3 changed files with 26 additions and 4 deletions
+4 -1
View File
@@ -67,7 +67,10 @@ services:
PLUGIN__WORKER__MAX_TOTAL_MEMORY_MB: "4096"
PLUGIN__WORKER__REQUIRE_HARD_LIMITS: "true"
LANGBOT_PLUGIN_RUNTIME_CONTROL_TOKEN: ${PLUGIN_RUNTIME_CONTROL_TOKEN}
BOX__ENABLED: "true"
# Cloud v2 currently grants no managed Box capability. Keep the shared
# runtime deployed but disable Core integration until a hard-quota-capable
# backend can satisfy the fail-closed Cloud readiness contract.
BOX__ENABLED: "false"
BOX__BACKEND: nsjail
BOX__RUNTIME__ENDPOINT: ws://box:5410
BOX__ADMISSION__REQUIRED: "true"