Created
July 31, 2026 11:57
-
-
Save pedroricardo/0cd6171fc7a649d506c2ea791df17c5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # OpenClaw | |
| OpenClaw is an open-source platform for building and running AI agents. It provides a local gateway that connects LLM providers, tools, and chat channels so you can automate workflows, operate assistants, and control agents from a Control UI. | |
| This template runs the OpenClaw Gateway with persistent data under `/home/discloud/data`. | |
| It also comes with the **Claude Code CLI** (`claude`) pre-installed and available in the container `PATH`. | |
| ## Access | |
| Access to OpenClaw is **only available through the Tailscale network**. | |
| - The gateway is not exposed on the public internet | |
| - Default port: **18789** | |
| - Connect from a device on the same Tailscale network: | |
| ```text | |
| http://<tailscale-ip>:18789 | |
| ``` | |
| or, when using Tailscale MagicDNS: | |
| ```text | |
| http://<hostname>.ts.net:18789 | |
| ``` | |
| Make sure Tailscale is installed and connected on the client before opening the Control UI. | |
| ## Environment variables | |
| Configure provider keys and the gateway token as needed: | |
| | Variable | Description | | |
| | --- | --- | | |
| | `OPENCLAW_GATEWAY_TOKEN` | Auth token for the gateway | | |
| | `OPENAI_API_KEY` | OpenAI API key | | |
| | `ANTHROPIC_API_KEY` | Anthropic API key | | |
| | `OPENROUTER_API_KEY` | OpenRouter API key | | |
| | `GEMINI_API_KEY` / `GOOGLE_API_KEY` | Google Gemini API keys | | |
| | `CODEX_API_KEY` | Codex API key | | |
| | `CLAUDE_CODE_OAUTH_TOKEN` | Claude Code OAuth token | | |
| | `OPENAI_OAUTH_TOKEN` | OpenAI OAuth token | | |
| ## Notes | |
| - Default gateway port is `18789` | |
| - Claude Code CLI is already installed (`claude` command) | |
| - Persistent state is stored in `/home/discloud/data` | |
| - Keep the Tailscale connection active to reach the Control UI and WebSocket gateway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment