mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 14:03:52 +00:00
21 lines
458 B
Text
21 lines
458 B
Text
---
|
|
title: "Cloudflare Sandboxes"
|
|
description: "Deploy the daemon in Cloudflare Sandboxes."
|
|
---
|
|
|
|
## Steps
|
|
|
|
1. Create a Cloudflare Sandbox with a Linux runtime.
|
|
2. Install the agent binaries and the sandbox-agent daemon.
|
|
3. Start the daemon and expose the HTTP port.
|
|
|
|
```bash
|
|
export SANDBOX_TOKEN="..."
|
|
|
|
cargo run -p sandbox-agent -- server \
|
|
--token "$SANDBOX_TOKEN" \
|
|
--host 0.0.0.0 \
|
|
--port 2468
|
|
```
|
|
|
|
4. Connect your client to the sandbox endpoint.
|