feat(blueprint): add Verdaccio - private node.js package registry#735
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
| ports: | ||
| - 4873 |
There was a problem hiding this comment.
ports must be replaced with expose
Per the project's Docker Compose conventions (AGENTS.md), ports must never be included in blueprint files. Dokploy handles external routing via its own proxy, so using ports would expose port 4873 directly on the host instead of routing through Dokploy's managed network. Use expose instead to only announce the port to the Docker network.
| ports: | |
| - 4873 | |
| expose: | |
| - 4873 |
Context Used: Rule from dashboard - AGENTS.md (source)
| verdaccio: | ||
| image: verdaccio/verdaccio:6 |
There was a problem hiding this comment.
Missing restart policy
Per the project's Docker Compose conventions (AGENTS.md), every service must include restart: unless-stopped or restart: always. Without this, the container will not automatically recover after a crash or host reboot.
| verdaccio: | |
| image: verdaccio/verdaccio:6 | |
| verdaccio: | |
| image: verdaccio/verdaccio:6 | |
| restart: unless-stopped |
Context Used: Rule from dashboard - AGENTS.md (source)
What is this PR about?
New PR of [Template Name]
Checklist
Before submitting this PR, please make sure that:
Issues related (if applicable)
Close automatically the related issues using the keywords:
closes #ISSUE_NUMBERScreenshots or Videos
Greptile Summary
This PR adds a Verdaccio (private Node.js package registry) blueprint to the Dokploy templates collection. The template includes a
docker-compose.yml, atemplate.tomlwith a fully embedded Verdaccio config (via[[config.mounts]]), an SVG logo, and ameta.jsonentry. The overall approach and configuration are correct; however, thedocker-compose.ymlviolates two mandatory project conventions defined in AGENTS.md:portsused instead ofexpose: Dokploy handles all external routing; usingportsdirectly exposes port4873on the host rather than routing through Dokploy's managed reverse proxy.restartpolicy: The service does not definerestart: unless-stopped(orrestart: always), meaning the container will not automatically recover from crashes or host reboots.Both issues are explicitly prohibited/required by the project's Docker Compose conventions and must be fixed before this template can be safely deployed.
Confidence Score: 2/5
portsinstead ofexposebypasses Dokploy's routing system and exposes the service directly on the host, while the missingrestartpolicy means the service cannot recover automatically. Both must be fixed before deployment. The other files (meta.json, template.toml, and SVG) are correct.portswithexposeand addrestart: unless-stoppedLast reviewed commit: fc72f73
(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!
Context used:
dashboard- AGENTS.md (source)