mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 14:03:52 +00:00
Improve desktop streaming architecture, add inspector dev tooling, React DesktopViewer updates, and computer-use documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: sandbox-agent-dev
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/test-agent/Dockerfile
|
|
image: sandbox-agent-dev
|
|
command: ["server", "--host", "0.0.0.0", "--port", "3000", "--no-token"]
|
|
environment:
|
|
RUST_LOG: "${RUST_LOG:-info}"
|
|
ports:
|
|
- "2468:3000"
|
|
# UDP port range for WebRTC media transport (neko)
|
|
- "59050-59070:59050-59070/udp"
|
|
|
|
frontend:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/inspector-dev/Dockerfile
|
|
working_dir: /app
|
|
depends_on:
|
|
- backend
|
|
environment:
|
|
SANDBOX_AGENT_URL: "http://backend:3000"
|
|
ports:
|
|
- "5173:5173"
|
|
volumes:
|
|
- "..:/app"
|
|
# Keep Linux-native node_modules inside the container.
|
|
- "sa_root_node_modules:/app/node_modules"
|
|
- "sa_inspector_node_modules:/app/frontend/packages/inspector/node_modules"
|
|
- "sa_react_node_modules:/app/sdks/react/node_modules"
|
|
- "sa_typescript_node_modules:/app/sdks/typescript/node_modules"
|
|
- "sa_pnpm_store:/root/.local/share/pnpm/store"
|
|
|
|
volumes:
|
|
sa_root_node_modules: {}
|
|
sa_inspector_node_modules: {}
|
|
sa_react_node_modules: {}
|
|
sa_typescript_node_modules: {}
|
|
sa_pnpm_store: {}
|