/idp-skills:complete-idp-deployment-with-docker-from-scratchfrom idp-skills
Guides teams through setting up a lightweight Docker Compose-based developer platform with a service catalog (Backstage), golden-path templates, and Dapr sidecars for state, pub/sub, and service invocation. Explicitly frames limitations vs. Kubernetes-based IDPs.
Ships in idp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every other skill in this "complete deployment" set assumes Kubernetes — for good reason, since Kubernetes' namespace/RBAC/quota primitives are what make multi-tenancy, self-service provisioning, and autoscaling tractable at platform scale. This skill is for teams that genuinely aren't there yet: a handful of services, a small number of developers, and Docker Compose as the only deployment substrate in production or near-production use. The honest framing that runs through every phase below: this is a starting point, not an Internal Developer Platform. It gives a team a service catalog, a repeatable way to scaffold new services, and Dapr's cross-service building blocks without requiring a Kubernetes cluster — but it explicitly does not give them tenant isolation beyond the OS/container boundary, autoscaling, self-healing, or automated infrastructure self-service. Naming that gap plainly, and naming the point at which a team should stop extending this and adopt one of the Kubernetes-based variants instead, is this skill's actual job.
dapr init) for self-hosted/standalone mode — this is a
materially different Dapr operating mode than the Kubernetes
sidecar-injection model most Dapr documentation (including this repo's
own Dapr skill) assumes; flagged explicitly in Phase 3.Phase 1 — A Docker Compose-based service catalog. Choose between
self-hosting Backstage via Compose (a docker-compose.yml running the
Backstage app container alongside a Postgres container as its catalog
database — Backstage itself doesn't require Kubernetes to run, though most
of its own ecosystem tooling assumes it) or a hosted no-code catalog tool
that needs no infrastructure at all. At this scale, the hosted no-code
path is usually the more honest choice for the same reason it often is at
K3s scale — a small team running Compose in production almost certainly
has less spare operational capacity than a K3s-scale team, not more. See
no-code-idp-service-catalog-tools-port-cortex-opslevel
for that path, and
backstage-plugin-development
for the self-hosted path's plugin/backend concepts if chosen (note that
skill's examples assume a Kubernetes-oriented deployment target for
Backstage's own hosting; the Compose deployment here still uses
Backstage's application code and plugin model identically — only the
container orchestration underneath differs).
Phase 2 — Docker Compose-based golden-path templates. Define one
scaffolding template whose output is a docker-compose.yml service
definition plus a Dockerfile, not a Helm chart or Kubernetes manifest —
this is the most concrete way this variant differs from every Kubernetes-
based one in this repo. Keep the template to a single tier; a Compose-
scale team doesn't have the review capacity multiple tiers assume. The
tiering and escape-hatch design principles still apply even though the
generated artifact type is different — see
golden-path-template-design-for-developer-platforms
for those principles, translating "Kubernetes manifest" to "Compose
service block" throughout. Validate the template the same way the other
variants do — scaffold a real instance, bring it up with docker compose up, smoke-test it, and tear it down — adapting
golden-path-template-validation-and-testing's
pipeline shape to Compose rather than a Kubernetes ephemeral namespace.
Phase 3 — Dapr sidecars in self-hosted/standalone mode for cross-
service building blocks. Run Dapr via dapr init in self-hosted mode
and add a daprd sidecar container to each service's Compose block
(pointing at the app container's port via --app-port), rather than the
Kubernetes annotation-based sidecar injection
dapr-distributed-runtime-configuration
covers — that skill's injection-annotation steps do not apply here;
its state-store, pub/sub, and service-invocation component YAML and
resiliency-policy concepts do, unchanged, since Dapr's component model is
identical across hosted modes. Mount the same components/ directory
into every service's daprd sidecar via a Compose volume so all services
share one component definition set. Validate the component configs (no
inline secrets, explicit scopes, bounded retries) the same way a
Kubernetes deployment would, per
dapr-configuration-validation.
Phase 4 — A deliberately minimal scorecard. Track a handful of machine-verifiable checks (Dockerfile present, health endpoint present, catalog-registered, Dapr component scoped correctly) rather than the full rubric the Kubernetes variants build — same reasoning as the K3s variant: a scorecard with more categories than the team can act on becomes noise. See service-scorecards-and-maturity-model-design, applied at reduced scope.
Phase 5 — Self-service, honestly scoped as manual/lightweight, not
automated provisioning. State plainly to the team: there is no
Scaffolder-action-driven, policy-gated infrastructure self-service layer
in this variant, because there's no Kubernetes API or cloud SDK for such
an action to call — "self-service" here means a developer runs the golden-
path scaffolder to generate their Compose service block, opens a PR adding
it to the shared docker-compose.yml (or their own), and a teammate
reviews it manually. This is a materially different (and less automated,
less audited) governance model than
platform-self-service-api-and-workflow-design's
state-machine/policy-gate pattern — read that skill to understand
specifically what capability is being given up here, not to implement it
as-is; implementing its full pattern is usually a sign this variant has
been outgrown (see "What's missing" below).
State this to the team as a running list, not a footnote:
restart: policy, if configured, but there is no horizontal
scaling and no node-level rescheduling if a host fails outright.Move to complete-idp-deployment-on-k3s-from-scratch or a full cloud/on-prem Kubernetes variant once any of the following is true: more than one team needs real isolation from another's workloads; a service needs to scale horizontally in response to load; a host failure has already caused (or is judged likely to soon cause) a multi-service outage; or the manual PR-review self-service model in Phase 5 is routinely too slow or too error-prone for the request volume. Treat reaching any of these thresholds as the trigger to migrate, not a reason to keep bolting ad hoc automation onto Compose.
components/ directory under version control
and reviewed exactly like application code — it's shared across every
service's sidecar, so an unscoped or secret-containing component
affects every service on the host, not just one.docker-compose.yml — there's no cluster-level image-pull policy or
admission control here to catch an accidental :latest drift.Symptom: Two services on the same Compose host can reach each
other's ports even though only one was supposed to be reachable
externally.
Fix: This isn't a misconfiguration to patch — it's the "no tenant
isolation" gap named above, working as (un)designed. If this actually
matters, that's a signal to graduate to a Kubernetes-based variant with
real NetworkPolicy support, not to attempt ad hoc iptables rules
bolted onto Compose networking.
Symptom: A Dapr sidecar fails to start with a component-loading
error that looks identical to a Kubernetes Dapr issue, but the fix
documented for Kubernetes (checking a Scopes annotation on the
Deployment) doesn't apply.
Fix: Confirm the components/ directory is actually mounted into
the daprd sidecar's Compose volume and that the CLI/sidecar version
matches across all services — self-hosted mode's failure surface is
different from the annotation-based Kubernetes injection most Dapr
troubleshooting content (including
dapr-distributed-runtime-configuration)
assumes.
Symptom: The manual PR-review self-service model (Phase 5) becomes the bottleneck as the number of services grows, with new-service PRs sitting unreviewed for days. Fix: This is the expected failure mode of a manual governance model at growing scale, not a process tweak to optimize away — it's one of the named graduation triggers above. Treat it as the signal to begin planning a move to complete-idp-deployment-on-k3s-from-scratch rather than adding more manual reviewers.
Symptom: A host running several services crashes, and every service
on it goes down simultaneously with no automatic recovery beyond
whatever restart: policy was set.
Fix: This is the "no self-healing across hosts" gap, not a
misconfigured restart policy (though confirm restart: unless-stopped
or similar is actually set as a baseline). If simultaneous multi-service
outages from a single host failure are unacceptable, that's a concrete,
specific signal to graduate off this variant rather than adding
ad hoc host-level HA scripting.
Symptom: Someone runs docker compose down -v on the shared stack
to "reset" a service, and it deletes the named volumes backing every
other service's database on the same Compose file, not just the one
intended.
Fix: This is destructive and irreversible without a separate backup
— -v removes named volumes for the whole Compose project, not a
single service. Scope any reset to the specific service
(docker compose stop <service> && docker compose rm <service>,
and remove only that service's specific named volume if truly
intended) rather than using project-wide down -v as a routine command,
and keep backups of any stateful container's volume regardless.
Scenario: "Basecamp Analytics" is a 4-person engineering team running 6 internal services via Docker Compose on two VMs, with no Kubernetes plans in the near term but real duplication pain from each service being set up by hand.
Dockerfile and a docker-compose.yml service block with health-check
and restart: unless-stopped pre-filled; validated by scaffolding a
test service, bringing it up locally, curling its /healthz, and
tearing it down.dapr init runs in self-hosted mode on both VMs; each
service's Compose block gets a daprd sidecar with a shared
components/ directory defining a Redis-backed state store and a
pub/sub component, mounted identically across all 6 services.docker-compose.yml, and reviewed manually
by whichever teammate is free — explicitly documented as a stopgap.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/backstage-plugin-developmentGuides authoring a custom Backstage plugin — scaffolding a frontend or backend plugin package with `yarn new`, wiring a frontend API client via `createApiRef`, building a backend plugin on the new backend system (`createBackendPlugin`), and registering either into the app's routes or an entity page tab. Use when a user asks to "write a custom Backstage plugin," "add a backend plugin to Backstage," "build a Backstage frontend component that talks to a new API," or "create a Backstage plugin that surfaces X" — this goes beyond catalog/TechDocs/template configuration.
/complete-idp-deployment-on-aws-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on AWS: landing zone → EKS cluster → Helm-deployed Backstage backed by RDS PostgreSQL → golden-path scaffolding template → self-service API wired to AWS provisioning (IRSA roles, RDS instances) → scorecards. This is the integration runbook that orders the individual AWS/EKS/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on AWS from scratch," "stand up Backstage on EKS end-to-end," "build our internal developer platform on AWS," "wire self-service database/IAM provisioning into Backstage on AWS," or "sequence an AWS platform rollout from account creation to golden-path templates."
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin idp-skillsOther plugins' skills for the same job