OpenPost ArchitectureΒΆ
Compose π³ΒΆ
flowchart LR
subgraph role [web-app-openpost]
svc_openpost["openpost<br>ghcr.io/getopenpost/openpost:v7.42.2<br>http 8080"]
svc_relay["relay<br>nginx:1.31.10-alpine<br>http 80 Β· https 443"]
svc_crossposter["crossposter<br>python:3.15.2-slim"]
svc_simulator["simulator<br>wiremock/wiremock:3.13.2<br>http 8080 Β· https 443"]
svc_provider["provider<br>python:3.15.2-slim<br>http 8080 Β· https 443"]
end
Swarm πΒΆ
flowchart LR
svc_openpost["openpost"]
svc_openpost --> rep_openpost["replicas: 1"]
svc_relay["relay"]
svc_relay --> rep_relay["replicas: from the host group"]
svc_crossposter["crossposter"]
svc_crossposter --> rep_crossposter["replicas: from the host group"]
svc_simulator["simulator"]
svc_simulator --> rep_simulator["replicas: from the host group"]
svc_provider["provider"]
svc_provider --> rep_provider["replicas: from the host group"]
classDef pinned fill:#fef7e0,stroke:#b06000,color:#3d2600;
VolumesΒΆ
flowchart LR
vol_media["openpost_media"]
vol_media -->|"swarm + storage.backend nfs"| nfs_media["shared over NFS"]:::shared
vol_media -->|"compose, or backend local"| cl_media["node-local"]:::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_db_postgres["svc-db-postgres π³π"]
dep_svc_net_tor["svc-net-tor π³π"]
dep_web_app_dashboard["web-app-dashboard π³π"]
dep_web_app_docs["web-app-docs π³π"]
dep_web_app_keycloak["web-app-keycloak π³π"]
dep_web_app_mastodon["web-app-mastodon π³π"]
dep_web_app_matomo["web-app-matomo π³π"]
dep_web_app_peertube["web-app-peertube π³π"]
dep_web_app_pixelfed["web-app-pixelfed π³π"]
dep_web_app_prometheus["web-app-prometheus π³π"]
dep_web_app_stalwart["web-app-stalwart π³π"]
dep_web_svc_design["web-svc-design π»"]
dep_web_svc_logout["web-svc-logout π³π"]
dep_web_svc_seaweedfs["web-svc-seaweedfs π³π"]
end
subgraph role [web-app-openpost π³π]
svc_sso["sso"]
svc_logout["logout"]
svc_dashboard["dashboard"]
svc_matomo["matomo"]
svc_email["email"]
svc_design["design"]
svc_prometheus["prometheus"]
svc_postgres["postgres"]
svc_seaweedfs["seaweedfs"]
svc_mastodon["mastodon"]
svc_pixelfed["pixelfed"]
svc_peertube["peertube"]
svc_openpost["openpost"]
svc_relay["relay"]
svc_simulator["simulator β"]
svc_provider["provider"]
svc_crossposter["crossposter"]
svc_tor["tor"]
svc_container_backup["container_backup"]
svc_docs["docs"]
end
dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup
dep_svc_db_postgres -. "0..1" .-> svc_postgres
dep_svc_net_tor -. "0..1" .-> svc_tor
dep_web_app_dashboard -. "0..1" .-> svc_dashboard
dep_web_app_docs -. "0..1" .-> svc_docs
dep_web_app_keycloak -. "0..1" .-> svc_sso
dep_web_app_mastodon -. "0..1" .-> svc_mastodon
dep_web_app_matomo -. "0..1" .-> svc_matomo
dep_web_app_peertube -. "0..1" .-> svc_peertube
dep_web_app_pixelfed -. "0..1" .-> svc_pixelfed
dep_web_app_prometheus -. "0..1" .-> svc_prometheus
dep_web_app_stalwart -. "0..1" .-> svc_email
dep_web_svc_design -. "0..1" .-> svc_design
dep_web_svc_logout -. "0..1" .-> svc_logout
dep_web_svc_seaweedfs -. "0..1" .-> svc_seaweedfs
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.