feat: Integrate OpenClaw for Site 2 - #68
Open
Farhan-Abbas wants to merge 2 commits into
Open
Farhan-Abbas wants to merge 2 commits into
Farhan-Abbas wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds orchestration and configuration to run an isolated OpenClaw agent instance as part of the Site 2 controller stack, supporting multi-site workflows (Issue #66).
Changes:
- Added
openclaw-site2andopenclaw-site2-permsservices to the Site 2 docker-compose stack, with dedicated volumes and host port mapping. - Added a Site 2 OpenClaw environment example file for configuring the agent.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| controller/docker-compose.site2.yml | Introduces OpenClaw services/volumes for Site 2 and exposes the gateway/UI on a separate host port. |
| controller/.env.openclaw.site2.example | Provides an example env configuration intended for the Site 2 OpenClaw instance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ports: | ||
| - '18790:18789' | ||
| env_file: | ||
| - openclaw.site2.env |
Collaborator
Author
There was a problem hiding this comment.
I think it would be better to let the dev know in a readme on how to name environment the file
Comment on lines
+97
to
+112
| ports: | ||
| - '18790:18789' | ||
| env_file: | ||
| - openclaw.site2.env | ||
| environment: | ||
| OPENCLAW_CONTROL_UI_ALLOWED_ORIGINS: "http://localhost:18790,http://127.0.0.1:18790,ws://localhost:18790,ws://127.0.0.1:18790" | ||
| PYTHONPATH: /home/node/.openclaw/workspace/starfish-cli | ||
| volumes: | ||
| - openclaw_config_site2:/home/node/.openclaw | ||
| - openclaw_workspace_site2:/home/node/.openclaw/workspace | ||
| - ../cli:/home/node/.openclaw/workspace/starfish-cli:ro | ||
| healthcheck: | ||
| test: ["CMD", "curl", "-fsS", "http://127.0.0.1:18789/healthz"] | ||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 5 |
Comment on lines
+1
to
+2
| # OpenClaw Configuration Site 2 | ||
| OPENAI_API_KEY=your-openai-api-key-here |
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solves #66
This PR adds the necessary orchestration and configuration to spin up an isolated OpenClaw LLM agent for Site 2.
Changes Included: