Redis ArchitectureΒΆ
Compose π³ΒΆ
flowchart LR
subgraph role [svc-db-redis]
svc_redis["redis<br>redis:8.10.3-alpine<br>redis 6379"]
end
Swarm πΒΆ
flowchart LR
svc_redis["redis"]
svc_redis --> rep_redis["replicas: from the host group"]
svc_redis --> plc_redis["node.role == manager"]:::pinned
classDef pinned fill:#fef7e0,stroke:#b06000,color:#3d2600;
VolumesΒΆ
flowchart LR
vol_data["redis_data"]
vol_data -->|"role is manager-pinned"| local_data["node-local on the manager"]:::local
classDef shared fill:#e6f4ea,stroke:#137333,color:#0b2e13;
classDef local fill:#fef7e0,stroke:#b06000,color:#3d2600;
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_svc_bkp_volume_2_local["svc-bkp-volume-2-local π»"]
dep_svc_net_tor["svc-net-tor π³π"]
dep_web_app_docs["web-app-docs π³π"]
end
subgraph role [svc-db-redis π³π]
svc_redis["redis"]
svc_tor["tor"]
svc_container_backup["container_backup"]
svc_docs["docs"]
end
subgraph dependents [Dependents]
dpt_web_app_akaunting["web-app-akaunting π³π"]
dpt_web_app_baserow["web-app-baserow π³π"]
dpt_web_app_bookwyrm["web-app-bookwyrm π³π"]
dpt_web_app_decidim["web-app-decidim π³π"]
dpt_web_app_discourse["web-app-discourse π³π"]
dpt_web_app_erpnext["web-app-erpnext π³π"]
dpt_web_app_fider["web-app-fider π³π"]
dpt_web_app_flowise["web-app-flowise π³π"]
dpt_web_app_funkwhale["web-app-funkwhale π³π"]
dpt_web_app_gitea["web-app-gitea π³π"]
dpt_web_app_gitlab["web-app-gitlab π³π"]
dpt_web_app_lam["web-app-lam π³π"]
dpt_web_app_magento["web-app-magento π³π"]
dpt_web_app_mailu["web-app-mailu π³π"]
dpt_web_app_mastodon["web-app-mastodon π³π"]
dpt_web_app_matomo["web-app-matomo π³π"]
dpt_web_app_mattermost["web-app-mattermost π³π"]
dpt_web_app_meta["web-app-meta π³π"]
dpt_web_app_mini_qr["web-app-mini-qr π³π"]
dpt_web_app_nextcloud["web-app-nextcloud π³π"]
dpt_web_app_odoo["web-app-odoo π³π"]
dpt_web_app_opentalk["web-app-opentalk π³π"]
dpt_web_app_peertube["web-app-peertube π³π"]
dpt_web_app_penpot["web-app-penpot π³π"]
dpt_web_app_phpmyadmin["web-app-phpmyadmin π³π"]
dpt_web_app_pixelfed["web-app-pixelfed π³π"]
dpt_web_app_pretix["web-app-pretix π³π"]
dpt_web_app_shopware["web-app-shopware π³π"]
dpt_web_app_snipe_it["web-app-snipe-it π³π"]
dpt_web_app_suitecrm["web-app-suitecrm π³π"]
dpt_web_app_weblate["web-app-weblate π³π"]
dpt_web_app_xwiki["web-app-xwiki π³π"]
dpt_web_app_zammad["web-app-zammad π³π"]
dpt_web_svc_collabora["web-svc-collabora π³π"]
dpt_web_svc_coturn["web-svc-coturn π³π"]
dpt_web_svc_libretranslate["web-svc-libretranslate π³π"]
dpt_web_svc_onlyoffice["web-svc-onlyoffice π³π"]
dpt_web_svc_simpleicons["web-svc-simpleicons π³π"]
end
dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup
dep_svc_net_tor -. "0..1" .-> svc_tor
dep_web_app_docs -. "0..1" .-> svc_docs
svc_redis -. "0..1" .-> dpt_web_app_akaunting
svc_redis -. "0..1" .-> dpt_web_app_baserow
svc_redis -. "0..1" .-> dpt_web_app_bookwyrm
svc_redis -. "0..1" .-> dpt_web_app_decidim
svc_redis -. "0..1" .-> dpt_web_app_discourse
svc_redis -. "0..1" .-> dpt_web_app_erpnext
svc_redis -. "0..1" .-> dpt_web_app_fider
svc_redis -. "0..1" .-> dpt_web_app_flowise
svc_redis -. "0..1" .-> dpt_web_app_funkwhale
svc_redis -. "0..1" .-> dpt_web_app_gitea
svc_redis -. "0..1" .-> dpt_web_app_gitlab
svc_redis -. "0..1" .-> dpt_web_app_lam
svc_redis -. "0..1" .-> dpt_web_app_magento
svc_redis -. "0..1" .-> dpt_web_app_mailu
svc_redis -. "0..1" .-> dpt_web_app_mastodon
svc_redis -. "0..1" .-> dpt_web_app_matomo
svc_redis -. "0..1" .-> dpt_web_app_mattermost
svc_redis -. "0..1" .-> dpt_web_app_meta
svc_redis -. "0..1" .-> dpt_web_app_mini_qr
svc_redis -. "0..1" .-> dpt_web_app_nextcloud
svc_redis -. "0..1" .-> dpt_web_app_odoo
svc_redis -. "0..1" .-> dpt_web_app_opentalk
svc_redis -. "0..1" .-> dpt_web_app_peertube
svc_redis -. "0..1" .-> dpt_web_app_penpot
svc_redis -. "0..1" .-> dpt_web_app_phpmyadmin
svc_redis -. "0..1" .-> dpt_web_app_pixelfed
svc_redis -. "0..1" .-> dpt_web_app_pretix
svc_redis -. "0..1" .-> dpt_web_app_shopware
svc_redis -. "0..1" .-> dpt_web_app_snipe_it
svc_redis -. "0..1" .-> dpt_web_app_suitecrm
svc_redis -. "0..1" .-> dpt_web_app_weblate
svc_redis -. "0..1" .-> dpt_web_app_xwiki
svc_redis -. "0..1" .-> dpt_web_app_zammad
svc_redis -. "0..1" .-> dpt_web_svc_collabora
svc_redis -. "0..1" .-> dpt_web_svc_coturn
svc_redis -. "0..1" .-> dpt_web_svc_libretranslate
svc_redis -. "0..1" .-> dpt_web_svc_onlyoffice
svc_redis -. "0..1" .-> dpt_web_svc_simpleicons
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.