Add proof-of-work challenge, session hub support, and status metrics across backend and frontend apps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b841c2d1f6
commit
9647ac8c50
29 files changed
+1492
-292
No files matched your search
@@ -80,9 +80,11 @@ pull_image docker "$spawner_tag"
|
||||
pull_image docker "$backend_tag"
|
||||
digest() { "$1" image inspect --format '{{index .RepoDigests 0}}' "$2"; }
|
||||
|
||||
# The spawner runs as 10001 and shares group 10100 with the backend.
|
||||
install -d -m 0755 runtime runtime/status
|
||||
# The spawner runs as 10001 and shares group 10100 with the backend, which
|
||||
# runs as 10002 and writes the status file that sandboxes read.
|
||||
install -d -m 0755 runtime
|
||||
install -d -o 10001 -g 10100 -m 0750 runtime/spawner
|
||||
install -d -o 10002 -g 10002 -m 0755 runtime/status
|
||||
cat > runtime/deploy.env <<EOF
|
||||
SANDBOX_IMAGE=$(digest sandbox_docker "$sandbox_tag")
|
||||
SPAWNER_IMAGE=$(digest docker "$spawner_tag")
|
||||
|
||||
Reference in new issue
Block a user