Repository navigation
✨ feat(examples): add tri-tool compose bundle (sockguard → portwing → drydock) - #124
Merged
Merged
Conversation
…ndle Full three-tool topology in examples/compose/tri-tool/: sockguard filters the Docker socket, Portwing reads sockguard's proxied socket instead of mounting /var/run/docker.sock, and drydock connects to Portwing over HTTP in Standard Mode (DD_AGENT_PORTWING_*, DD_LOCAL_WATCHER=false) rather than touching Docker directly at all. Shared Portwing<->drydock secret is a single Docker secret mounted into both containers. Defaults to no exec; README points at the portwing-with-exec.yaml preset and drydock's Edge Mode as the variants this bundle deliberately doesn't ship, and calls out that Portwing's Standard Mode agent doesn't implement remote update triggers yet (POST /api/triggers/* returns 501). Fixes: PICKUP item 5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks done
This branch was successfully 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.
What
PICKUP item 5: one ready-to-run
examples/compose/tri-tool/bundle wiring all three tools together — sockguard filters/var/run/docker.sock, portwing reads sockguard's proxied unix socket (plain preset, no exec), drydock connects to portwing over HTTP in Standard Mode with zero direct Docker access (DD_LOCAL_WATCHER=false).Details
group_addwith${DOCKER_SOCK_GID:?},read_only,cap_drop: ALL,no-new-privileges, UID 65532. drydock matches its existing example (root entrypoint provisions /store, then drops via su-exec).portwing-with-exec.yaml/ drydock Edge Mode as the variants this deliberately doesn't ship, and notes the real caveat that portwing Standard Mode returns 501 onPOST /api/triggers/*(no remote-update push yet).tri-toolto match the repo's existing term for this topology; linked from the root README examples list; CHANGELOG entry added.DD_LOCAL_WATCHERsemantics confirmed at app/configuration/index.ts:192).Verification
docker compose configvalidates with required env set; reviewed against the hardening checklist (proxied socket only — portwing never sees the raw socket); pre-commit biome/format hooks clean.