Claude Code ArchitectureΒΆ
Compose π³ΒΆ
flowchart LR
none["dsk-gnt-claude declares no service"]
Swarm πΒΆ
flowchart LR
none["dsk-gnt-claude declares no service"]
VolumesΒΆ
flowchart LR
none["dsk-gnt-claude declares no volume"]
Condition |
Effect |
|---|---|
swarm, |
shared over NFS |
any one of those missing |
node-local |
All four conditions must hold, so pinning a role takes every one of its volumes node-local. Only the roleβs primary entry counts as pinned here: a placement on any other service pins that service alone and leaves the backing of every volume unchanged. The chain is drawn rather than its result, because that coupling is what makes a placement change move data without saying so.
DependenciesΒΆ
flowchart LR
subgraph deps [Dependencies]
dep_dsk_base["dsk-base π»"]
dep_svc_ai_litellm["svc-ai-litellm π³π"]
dep_web_app_docs["web-app-docs π³π"]
end
subgraph role [dsk-gnt-claude π»]
svc_desktop_base["desktop-base"]
svc_claude["claude"]
svc_litellm["litellm"]
svc_docs["docs"]
end
subgraph dependents [Dependents]
dpt_dsk_blender["dsk-blender π»"]
dpt_dsk_code["dsk-code π»"]
end
dep_dsk_base -- "1:1" --> svc_desktop_base
dep_svc_ai_litellm -. "0..1" .-> svc_litellm
dep_web_app_docs -. "0..1" .-> svc_docs
svc_desktop_base -. "0..1" .-> dpt_dsk_blender
svc_desktop_base -. "0..1" .-> dpt_dsk_code
Symbol |
Meaning |
|---|---|
|
fixed relationship |
|
conditional, enabled only in matching deployments |
|
declared but turned off in this role |
π» |
deploys to the host |
π³ |
deploys under compose |
π |
deploys under swarm |
β |
service explicitly turned off |
βοΈ |
Ansible role dependency from |
Every dependency and dependent is listed; the graph is not truncated.