Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Free Disk Space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,39 @@

The gateway token is generated on first boot and stored in `/data/.openclaw/openclaw.json` inside the `runclawd` container (generated by `scripts/bootstrap.sh`).

## Device approval

OpenClaw requires devices to be approved before they can access the gateway. The installer provides a link to do this, but you can also do it manually via the CLI or web terminal.

1. **List devices** to find the pending **Request ID** (UUID):

```bash
openclaw devices list
```

Output example:

```text
Pending (1)
┌──────────────────────────────────────┬───────────────────────────────────...
│ Request │ Device ...
├──────────────────────────────────────┼───────────────────────────────────...
│ 62cd8691-b244-4e34-90e1-62b5530ef268 │ 0b874c0cb5c7ea23541cccd1034fc930a1...
└──────────────────────────────────────┴───────────────────────────────────...
```

2. **Approve the device** using the Request ID from the first column:

```bash
openclaw devices approve 62cd8691-b244-4e34-90e1-62b5530ef268
```

Output example:

```text
Approved 0b874c0cb5c7ea23541cccd1034fc930a1dff0895fc42eedb1ab454060a7cff9
```

## Configure API keys (.env)

This compose preset reads API keys from environment variables (see `docker-compose.yaml`, e.g. `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GEMINI_API_KEY`, etc.).
Expand Down
4 changes: 2 additions & 2 deletions get-runclawd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ print_result() {
${tunnel_url}/openclaw/?arg=devices&arg=list

Approve a device:
${tunnel_url}/openclaw/?arg=devices&arg=approve&arg={device_id}
${tunnel_url}/openclaw/?arg=devices&arg=approve&arg={request_id}

Tip: open the "List devices" link, copy the returned device_id, then replace "{device_id}" in the approve link.
Tip: open the "List devices" link, find the pending request (UUID), copy its ID, then replace "{request_id}" in the approve link.

Notes:
- If the URL is not reachable right away, wait a few minutes for DNS/route propagation and try again.
Expand Down
Loading