feat: add/update ZeroClaw template (v0.6.7)#762
feat: add/update ZeroClaw template (v0.6.7)#762theonlyhennygod wants to merge 1 commit intoDokploy:mainfrom
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
| @@ -0,0 +1,16 @@ | |||
| [variables] | |||
| main_domain = "${domain}" | |||
| api_key = "${password:64}" | |||
There was a problem hiding this comment.
api_key auto-generation will produce an unusable value
${password:64} generates a random 64-character string and injects it as the API_KEY for the upstream AI provider (OpenRouter, OpenAI, etc.). A randomly generated value is not a valid credential for any AI provider, so the service will fail to make AI requests after deployment.
This variable represents a user-supplied provider credential, not an internal application secret. The correct pattern (used by other AI templates in this repo such as blueprints/anse/template.toml) is to leave the value empty so users are prompted to fill in their real provider key after deployment. The api_key variable definition and its ${password:64} helper should be removed, and API_KEY in the env array should be left blank.
| [variables] | ||
| main_domain = "${domain}" | ||
| api_key = "${password:64}" | ||
|
|
||
| [config] | ||
| env = [ | ||
| "API_KEY=${api_key}", | ||
| "PROVIDER=openrouter", | ||
| "ZEROCLAW_ALLOW_PUBLIC_BIND=true", | ||
| "ZEROCLAW_GATEWAY_PORT=42617" | ||
| ] | ||
|
|
||
| [[config.domains]] | ||
| serviceName = "zeroclaw" | ||
| port = 42617 | ||
| host = "${main_domain}" |
There was a problem hiding this comment.
Logo format: PNG used instead of preferred SVG
AGENTS.md states "SVG preferred, ~128x128px" for logo files. The template uses zeroclaw.png, which is a raster format. While PNG will work, SVG scales cleanly at any size and is the preferred format across the repository. If an SVG version of the logo is available, swapping it in would keep the project consistent.
Context Used: AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
ghcr.io/zeroclaw-labs/zeroclaw:${VERSION}Checklist
Testing
Links
Greptile Summary
This PR adds a new ZeroClaw template (v0.6.7) — a Rust-based AI personal assistant — to the Dokploy template registry. The
docker-compose.ymlis well-structured and follows all repository conventions. However, two issues need to be addressed before merging:strapientry was deleted frommeta.jsoneven though its blueprint folder (blueprints/strapi/) still exists. This is unrelated to the ZeroClaw addition and appears to be an accidental side-effect, likely from a merge conflict resolution or running the sort script against a dirty tree. Restoring it is required.template.tomluses${password:64}to auto-generate theAPI_KEY, but this variable holds the user's upstream AI provider credential (OpenRouter, OpenAI, etc.). A randomly generated value will never authenticate with any provider, leaving the service non-functional out of the box. It should be left empty, consistent with how other AI templates in this repo handle user-supplied provider keys.Confidence Score: 4/5
Two P1 issues must be resolved before merging: the accidental Strapi deletion from meta.json and the misconfigured AI provider API key.
The docker-compose.yml is solid and follows all conventions. The two P1 issues — unintentional removal of an existing template entry and an auto-generated value for a user-supplied credential — prevent the PR from being merge-ready as-is.
meta.json (Strapi entry deletion) and blueprints/zeroclaw/template.toml (API_KEY auto-generation)
Important Files Changed
Comments Outside Diff (1)
meta.json, line 5952-5969 (link)The
strapientry has been deleted frommeta.json, but its blueprint (blueprints/strapi/) is still present in the repository. This removal is unrelated to the ZeroClaw addition and appears to be unintentional — likely a merge conflict artifact or a side-effect of running the dedup/sort script after a conflict. Without this entry, Strapi will no longer appear in the template registry even though the underlying compose files are intact.Please restore the Strapi entry and re-run
npm run process-metato ensure the registry is sorted correctly before merging.Reviews (1): Last reviewed commit: "feat: add/update ZeroClaw template (v0.6..." | Re-trigger Greptile
(4/5) You can add custom instructions or style guidelines for the agent here!
Context used: