Сервис приложения

Сервис OpenClaw

Шлюз OpenClaw, который запускает агентов с настроенными вами провайдерами моделей и каналами чатов.

Вы добавляете этот сервис в стек и выбираете там его версию и ресурсы. Каждое окружение может их переопределить.

В StackMaster

Как OpenClaw работает в StackMaster

What Wodby sets up for OpenClaw on this service. It runs the wodby/openclaw image, which starts the OpenClaw gateway on port 18789.

Generated configuration

On every start the container renders the template /etc/gotpl/openclaw.json.tmpl to ~/.openclaw/openclaw.json (OPENCLAW_CONFIG_PATH), from its environment variables. The result is rewritten on each start: never edit it. The template itself is the config file "OpenClaw config" of the service; edit it there to change anything the variables below do not cover.

What switches features on

Variable on the serviceEffect in the generated configuration
OPENAI_API_KEYadds the agents openai and openai-code
ANTHROPIC_API_KEYadds the agent claude
GEMINI_API_KEY or GOOGLE_API_KEYadds the agent gemini
TELEGRAM_BOT_TOKENenables the Telegram channel
DISCORD_BOT_TOKENenables the Discord channel

The first provider present, in the order above, is the default agent. Models and workspaces of the agents have their own optional variables: OPENCLAW_OPENAI_MODEL, OPENCLAW_OPENAI_CODE_MODEL, OPENCLAW_CLAUDE_MODEL, OPENCLAW_GEMINI_MODEL, OPENCLAW_AGENTS_WORKSPACE and OPENCLAW_<AGENT>_WORKSPACE. Without a provider key the configuration has no agent list.

Access

  • Port 18789 is the service's main HTTP endpoint and is not marked private, because Application Access serves only routable HTTP endpoints. The OpenClaw stack requires Private network access for the entire app, so its public route is suppressed from creation and the Control UI answers only on the provider's private address.
  • A custom stack that uses this service without requiring Application Access gets a public address. The Control UI is an administration interface, so such a stack must require Application Access too.
  • The service token gateway_token is passed to the container as OPENCLAW_GATEWAY_TOKEN. Clients of the gateway and the Control UI authenticate with it.
  • OPENCLAW_GATEWAY_CONTROLUI_ALLOWED_ORIGIN_JSON lists the origins allowed to open the Control UI: the service's primary route host, the service's address inside the cluster and the local address. OpenClaw also accepts a .ts.net address that matches the request's host.
  • The gateway binds to all interfaces of the container (bind: "lan").

Open the Control UI

  1. Connect the device to the Access provider's private network.
  2. Open the address listed on the environment's Endpoints > Domains page.
  3. Paste gateway_token into Gateway secret.
  4. A new browser waits for a one-time approval. In the container, run openclaw devices list, then openclaw devices approve <requestId>. The page connects by itself.

Data

The data volume is mounted at /data, the OpenClaw state directory (OPENCLAW_STATE_DIR). Agent workspaces default to directories under ~/.openclaw/, which are outside that volume unless the workspace variables point elsewhere.

Changing configuration

Add or change environment variables on the service, or edit the "OpenClaw config" template, then deploy the service.

Check the result

openclaw health --json inside the container reports "ok": true when the gateway is up. The container's health command runs this check.

Обзор

Технический профиль OpenClaw

Здесь перечислены версии, которые можно выбрать для OpenClaw в стеке или окружении. Сам сервис публикуется ревизиями, и стек ссылается на конкретную ревизию.

Тип сервиса

Сервис приложения

Версии

2026

Постоянные тома

Data

Стеки

Стеки, в которые входит OpenClaw

OpenClaw входит в этот публичный стек. Можно создать приложение из публичного стека как есть или добавить сервис в собственный стек.

Конфигурация

Конфигурация сервиса OpenClaw

Сервис OpenClaw объявляет следующее. Если значение можно изменить, его задаёт стек, а каждое окружение может его переопределить.

Технические домены

StackMaster выдаёт каждому публичному HTTP-порту технический домен с TLS-сертификатом и продлевает сертификат. Порт, который сервис помечает как частный, домен не получает. Можно добавить собственные домены.

Тома

Data

Файлы конфигурации

1 файл конфигурации, который стек или окружение могут переопределить.