Introduce backend app for WebSocket terminal sessions and sandbox orchestration.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7b1df2607e
commit
91049379f7
22 files changed
+808
-11
No files matched your search
@@ -26,3 +26,28 @@ services:
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: "3"
|
||||
|
||||
backend:
|
||||
image: ${BACKEND_IMAGE:?run deploy.sh}
|
||||
restart: unless-stopped
|
||||
user: "10002:10002"
|
||||
group_add:
|
||||
- "10100"
|
||||
read_only: true
|
||||
cap_drop: [ALL]
|
||||
security_opt: [no-new-privileges:true]
|
||||
mem_limit: 256m
|
||||
pids_limit: 128
|
||||
depends_on: [spawner]
|
||||
ports:
|
||||
- "127.0.0.1:${BACKEND_PORT:-8380}:8080"
|
||||
environment:
|
||||
SPAWNER_SOCKET: /run/spawner/spawner.sock
|
||||
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://security-command.org}
|
||||
volumes:
|
||||
- ./runtime/spawner:/run/spawner
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: "3"
|
||||
Reference in new issue
Block a user