mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 14:01:09 +00:00
feat: refresh web console theme
This commit is contained in:
parent
0fbf6272b1
commit
1fcae6ed76
34 changed files with 5037 additions and 748 deletions
|
|
@ -15,7 +15,7 @@ export SANDBOX_TOKEN="..."
|
|||
cargo run -p sandbox-agent -- \
|
||||
--token "$SANDBOX_TOKEN" \
|
||||
--host 0.0.0.0 \
|
||||
--port 8787
|
||||
--port 2468
|
||||
```
|
||||
|
||||
4. Connect your client to the sandbox endpoint.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ description: "Run the daemon in a Daytona workspace."
|
|||
|
||||
1. Create a Daytona workspace with Rust and curl available.
|
||||
2. Install or build the sandbox-agent binary.
|
||||
3. Start the daemon and expose port `8787` (or your preferred port).
|
||||
3. Start the daemon and expose port `2468` (or your preferred port).
|
||||
|
||||
```bash
|
||||
export SANDBOX_TOKEN="..."
|
||||
|
|
@ -15,7 +15,7 @@ export SANDBOX_TOKEN="..."
|
|||
cargo run -p sandbox-agent -- \
|
||||
--token "$SANDBOX_TOKEN" \
|
||||
--host 0.0.0.0 \
|
||||
--port 8787
|
||||
--port 2468
|
||||
```
|
||||
|
||||
4. Use your Daytona port forwarding to reach the daemon from your client.
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@ The binary will be written to `./artifacts/sandbox-agent-x86_64-unknown-linux-mu
|
|||
## Run the daemon
|
||||
|
||||
```bash
|
||||
docker run --rm -p 8787:8787 \
|
||||
docker run --rm -p 2468:2468 \
|
||||
-v "$PWD/artifacts:/artifacts" \
|
||||
debian:bookworm-slim \
|
||||
/artifacts/sandbox-agent-x86_64-unknown-linux-musl --token "$SANDBOX_TOKEN" --host 0.0.0.0 --port 8787
|
||||
/artifacts/sandbox-agent-x86_64-unknown-linux-musl --token "$SANDBOX_TOKEN" --host 0.0.0.0 --port 2468
|
||||
```
|
||||
|
||||
You can now access the API at `http://localhost:8787`.
|
||||
You can now access the API at `http://localhost:2468`.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export SANDBOX_TOKEN="..."
|
|||
cargo run -p sandbox-agent -- \
|
||||
--token "$SANDBOX_TOKEN" \
|
||||
--host 0.0.0.0 \
|
||||
--port 8787
|
||||
--port 2468
|
||||
```
|
||||
|
||||
4. Configure your client to connect to the sandbox endpoint.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ export SANDBOX_TOKEN="..."
|
|||
cargo run -p sandbox-agent -- \
|
||||
--token "$SANDBOX_TOKEN" \
|
||||
--host 0.0.0.0 \
|
||||
--port 8787
|
||||
--port 2468
|
||||
```
|
||||
|
||||
4. Configure your client to use the sandbox URL.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue