Jitsi Meet ArchitectureΒΆ

Compose 🐳¢

flowchart LR
    subgraph role [web-app-jitsi]
        svc_prosody["prosody<br>jitsi/prosody:stable-11031<br>xmpp 5222 Β· component 5347 Β· http 5280"]
        svc_jicofo["jicofo<br>jitsi/jicofo:stable-11031"]
        svc_jvb["jvb<br>jitsi/jvb:stable-11031"]
        svc_web["web<br>built here"]
    end

Swarm 🐝¢

flowchart LR
    svc_prosody["prosody"]
    svc_prosody --> rep_prosody["replicas: from the host group"]
    svc_prosody --> plc_prosody["node.role == manager"]:::pinned
    svc_jicofo["jicofo"]
    svc_jicofo --> rep_jicofo["replicas: from the host group"]
    svc_jicofo --> plc_jicofo["node.role == manager"]:::pinned
    svc_jvb["jvb"]
    svc_jvb --> rep_jvb["replicas: from the host group"]
    svc_jvb --> plc_jvb["node.role == manager"]:::pinned
    svc_web["web"]
    svc_web --> rep_web["replicas: from the host group"]
    svc_web --> plc_web["node.role == manager"]:::pinned
    classDef pinned fill:#fef7e0,stroke:#b06000,color:#3d2600;

VolumesΒΆ

flowchart LR
    none["web-app-jitsi declares no volume"]

Condition

Effect

swarm, storage.backend: nfs, no nfs: false, role not pinned

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_db_openldap["svc-db-openldap 🐳🐝"]
        dep_web_app_dashboard["web-app-dashboard 🐳🐝"]
        dep_web_app_docs["web-app-docs 🐳🐝"]
        dep_web_app_keycloak["web-app-keycloak 🐳🐝"]
        dep_web_app_matomo["web-app-matomo 🐳🐝"]
        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 🐳🐝"]
    end
    subgraph role [web-app-jitsi 🐳🐝]
        svc_sso["sso"]
        svc_ldap["ldap"]
        svc_logout["logout"]
        svc_dashboard["dashboard"]
        svc_matomo["matomo"]
        svc_prometheus["prometheus"]
        svc_email["email"]
        svc_design["design"]
        svc_javascript["javascript"]
        svc_jitsi["jitsi"]
        svc_web["web"]
        svc_prosody["prosody"]
        svc_jicofo["jicofo"]
        svc_jvb["jvb"]
        svc_tor["tor ❌"]
        svc_docs["docs"]
    end
    subgraph dependents [Dependents]
        dpt_web_app_discourse["web-app-discourse 🐳🐝"]
        dpt_web_app_matrix["web-app-matrix 🐳🐝"]
        dpt_web_app_mattermost["web-app-mattermost 🐳🐝"]
        dpt_web_app_moodle["web-app-moodle 🐳🐝"]
    end
    dep_svc_db_openldap -. "0..1" .-> svc_ldap
    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_matomo -. "0..1" .-> svc_matomo
    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
    svc_sso -. "0..1" .-> dpt_web_app_discourse
    svc_sso -. "0..1" .-> dpt_web_app_matrix
    svc_sso -. "0..1" .-> dpt_web_app_mattermost
    svc_sso -. "0..1" .-> dpt_web_app_moodle

Symbol

Meaning

1:1 solid

fixed relationship

0..1 dashed

conditional, enabled only in matching deployments

0..0 red

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 meta/main.yml

Every dependency and dependent is listed; the graph is not truncated.