Rename shared backend to Bedrock [skip ci]

This commit is contained in:
2026-11-19 19:30:05 +08:00
parent 3bc3051383
commit 6fcfbf1def
21 changed files with 42 additions and 40 deletions
+2 -2
View File
@@ -46,13 +46,13 @@ docker run -d --name "$worker" --init --network bridge --user 1000:1000 \
--tmpfs /tmp:rw,nosuid,nodev,size=128m --tmpfs /work:ro,nosuid,nodev \
--tmpfs /home/node/.codex:rw,nosuid,nodev,size=32m,uid=1000,gid=1000 --workdir /work \
-e "FOUNDRY_CANVAS_IMAGE_MODELS=$FOUNDRY_CANVAS_IMAGE_MODELS" \
--mount "type=bind,source=$binary,target=/opt/foundry,readonly" \
--mount "type=bind,source=$binary,target=/opt/bedrock,readonly" \
--mount "type=bind,source=$cli,target=/opt/codex,readonly" \
--mount "type=bind,source=$login/auth.json,target=/home/node/.codex/auth.json,readonly" \
--mount "type=bind,source=$login/models_cache.json,target=/home/node/.codex/models_cache.json,readonly" \
--mount "type=bind,source=$scratch/run,target=/run/foundry-codex" \
--mount type=bind,source=/etc/ssl/certs/ca-certificates.crt,target=/etc/ssl/certs/ca-certificates.crt,readonly \
node:24-bookworm-slim /opt/foundry codex-worker >/dev/null
node:24-bookworm-slim /opt/bedrock codex-worker >/dev/null
for attempt in {1..30}; do if [[ -S "$scratch/run/worker.sock" ]]; then break; fi; sleep 1; done
test -S "$scratch/run/worker.sock"