feat & refactor: Integrate OpenClaw for Site 2 and standardize env files - #67
Closed
Farhan-Abbas wants to merge 1 commit into
Closed
Farhan-Abbas wants to merge 1 commit into
Farhan-Abbas wants to merge 1 commit into
Conversation
…Site 2 Co-authored-by: Copilot <copilot@github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds an isolated OpenClaw service to the Site 2 controller docker-compose stack and updates the CLI/docs/tests to use the new standardized env filename (site2.env) for multi-site workflows.
Changes:
- Extend
controller/docker-compose.site2.ymlwithopenclaw-site2(+ perms init service), distinct port mapping, and allowed origins. - Add/rename environment templates for controller and OpenClaw, and update docs/examples/tests to reference
STARFISH_ENV=site2.env. - Update CLI agent tool schema/prompt text and
.gitignoreto reflect the new env naming.
Reviewed changes
Copilot reviewed 10 out of 13 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| workbench/config/openclaw.example.env | Adds an OpenClaw env template for the workbench stack. |
| docs/cli.md | Updates CLI docs examples to use STARFISH_ENV=site2.env. |
| controller/example.env | Adds the controller env template in the new standardized name. |
| controller/site2.example.env | Adds Site 2 controller env template. |
| controller/site2.env | Adds a concrete Site 2 controller env file (currently includes a real-looking password). |
| controller/openclaw.site2.example.env | Adds Site 2 OpenClaw env template. |
| controller/docker-compose.site2.yml | Switches Site 2 env_file naming and adds OpenClaw services for Site 2. |
| cli/tests/test_tools.py | Updates tests to pass/assert site2.env. |
| cli/tests/test_agent.py | Updates agent test to pass site2.env in tool calls. |
| cli/starfish_cli/agent/tools.py | Updates tool schema description example from .env.site2 to site2.env. |
| cli/starfish_cli/agent/prompts.py | Updates prompt text example from .env.site2 to site2.env. |
| cli/README.md | Updates multi-site workflow examples to use STARFISH_ENV=site2.env. |
| cli/.gitignore | Updates ignored multi-site env filename from .env.site2 to site2.env. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
1
to
4
| # Environment files — contain sensitive credentials, never commit these | ||
| .env | ||
| .env.site2 | ||
| site2.env | ||
|
|
Comment on lines
14
to
18
| ports: | ||
| - '8002:8000' | ||
| env_file: | ||
| - .env.site2 | ||
| - site2.env | ||
| command: bash -c "cron && python3 manage.py runserver 0.0.0.0:8000" |
Comment on lines
+98
to
+103
| - '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 |
Farhan-Abbas
force-pushed
the
site-2-openclaw-add
branch
from
May 26, 2026 06:05
2a3500c to
00ce204
Compare
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, and performs a codebase-wide standardization of .env and .env template files.
Changes Included:
Added OpenClaw to Site 2 Stack:
Environment File Standardization: