# sq-2026-c/opencloud-compose architecture

> Architecture diagram of the GitHub repository sq-2026-c/opencloud-compose, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sq-2026-c/opencloud-compose
- Repository: https://github.com/sq-2026-c/opencloud-compose

## Overview

OpenCloud Compose is a collection of Docker Compose configurations for assembling OpenCloud deployments, not the OpenCloud application itself. The principal workflow is for an operator to choose the base deployment and compatible overlays, then start the resulting stack with Docker Compose. Overlays add routing, identity, storage, search, previews, monitoring, calendar/contacts, antivirus, and document-editing integrations. Collabora and Euro Office are alternative backends. The README documents these capabilities and some combinations; because Compose file contents were not sampled, the graph shows documented selections rather than inferred service-level wiring.

Main entry points: [`idm/ldap-keycloak.yml`](https://github.com/sq-2026-c/opencloud-compose/blob/main/idm/ldap-keycloak.yml) (Keycloak + LDAP), [`docker-compose.yml`](https://github.com/sq-2026-c/opencloud-compose/blob/main/docker-compose.yml) (Base stack), [`traefik/opencloud.yml`](https://github.com/sq-2026-c/opencloud-compose/blob/main/traefik/opencloud.yml) (Traefik routing), [`external-proxy/opencloud.yml`](https://github.com/sq-2026-c/opencloud-compose/blob/main/external-proxy/opencloud.yml) (External proxy)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_deployment["Deployment"]
  node_base["Base stack<br/>[docker-compose.yml]"]
  node_traefik["Traefik routing<br/>[opencloud.yml]"]
  node_external_proxy["External proxy<br/>[opencloud.yml]"]
end

subgraph group_identity["Identity"]
  node_keycloak_ldap["Keycloak + LDAP<br/>[ldap-keycloak.yml]"]
  node_keycloak_config["Keycloak setup"]
  node_ldap_config["LDAP setup"]
end

subgraph group_content["Content services"]
  node_search["Full-text search<br/>[tika.yml]"]
  node_storage["S3 storage<br/>[decomposeds3.yml]"]
  node_thumbnails["Image previews<br/>[imagor.yml]"]
  node_monitoring["Monitoring<br/>[monitoring.yml]"]
end

subgraph group_integrations["Integrations"]
  node_collabora["Collabora<br/>[collabora.yml]"]
  node_euro_office["Euro Office<br/>[euro-office.yml]"]
  node_radicale["Calendar + contacts<br/>[radicale.yml]"]
  node_clamav["Antivirus scanning<br/>[clamav.yml]"]
  node_maps["Maps app"]
end

node_operator(("Operator"))
node_compose["Docker Compose"]

node_operator -->|"starts stack"| node_compose
node_operator -->|"selects base"| node_base
node_operator -->|"selects overlay"| node_traefik
node_operator -.->|"selects overlay"| node_external_proxy
node_operator -->|"selects overlay"| node_keycloak_ldap
node_operator -->|"selects overlay"| node_search
node_operator -->|"selects backend"| node_collabora
node_operator -->|"selects backend"| node_euro_office
node_operator -.->|"selects overlay"| node_storage
node_operator -->|"selects overlay"| node_thumbnails
node_operator -->|"selects overlay"| node_monitoring
node_operator -->|"selects overlay"| node_radicale
node_operator -->|"selects overlay"| node_clamav
node_operator -.->|"selects app"| node_maps
node_keycloak_ldap -.->|"uses configuration"| node_keycloak_config
node_keycloak_ldap -.->|"uses configuration"| node_ldap_config

click node_base "https://github.com/sq-2026-c/opencloud-compose/blob/main/docker-compose.yml"
click node_traefik "https://github.com/sq-2026-c/opencloud-compose/blob/main/traefik/opencloud.yml"
click node_external_proxy "https://github.com/sq-2026-c/opencloud-compose/blob/main/external-proxy/opencloud.yml"
click node_keycloak_ldap "https://github.com/sq-2026-c/opencloud-compose/blob/main/idm/ldap-keycloak.yml"
click node_keycloak_config "https://github.com/sq-2026-c/opencloud-compose/tree/main/config/keycloak"
click node_ldap_config "https://github.com/sq-2026-c/opencloud-compose/tree/main/config/ldap"
click node_search "https://github.com/sq-2026-c/opencloud-compose/blob/main/search/tika.yml"
click node_storage "https://github.com/sq-2026-c/opencloud-compose/blob/main/storage/decomposeds3.yml"
click node_thumbnails "https://github.com/sq-2026-c/opencloud-compose/blob/main/thumbnails/imagor.yml"
click node_monitoring "https://github.com/sq-2026-c/opencloud-compose/blob/main/monitoring/monitoring.yml"
click node_collabora "https://github.com/sq-2026-c/opencloud-compose/blob/main/weboffice/collabora.yml"
click node_euro_office "https://github.com/sq-2026-c/opencloud-compose/blob/main/weboffice/euro-office.yml"
click node_radicale "https://github.com/sq-2026-c/opencloud-compose/blob/main/radicale/radicale.yml"
click node_clamav "https://github.com/sq-2026-c/opencloud-compose/blob/main/antivirus/clamav.yml"
click node_maps "https://github.com/sq-2026-c/opencloud-compose/tree/main/config/opencloud/apps/maps"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_base,node_traefik,node_external_proxy toneBlue
class node_keycloak_ldap,node_keycloak_config,node_ldap_config toneAmber
class node_search,node_storage,node_thumbnails,node_monitoring toneMint
class node_collabora,node_euro_office,node_radicale,node_clamav,node_maps toneRose
class node_operator,node_compose toneIndigo
```

## Components

### Deployment

- [Base stack](https://github.com/sq-2026-c/opencloud-compose/blob/main/docker-compose.yml): `docker-compose.yml`
- [Traefik routing](https://github.com/sq-2026-c/opencloud-compose/blob/main/traefik/opencloud.yml): `traefik/opencloud.yml`
- [External proxy](https://github.com/sq-2026-c/opencloud-compose/blob/main/external-proxy/opencloud.yml): `external-proxy/opencloud.yml`

### Identity

- [Keycloak + LDAP](https://github.com/sq-2026-c/opencloud-compose/blob/main/idm/ldap-keycloak.yml): `idm/ldap-keycloak.yml`
- [Keycloak setup](https://github.com/sq-2026-c/opencloud-compose/tree/main/config/keycloak): `config/keycloak`
- [LDAP setup](https://github.com/sq-2026-c/opencloud-compose/tree/main/config/ldap): `config/ldap`

### Content services

- [Full-text search](https://github.com/sq-2026-c/opencloud-compose/blob/main/search/tika.yml): `search/tika.yml`
- [S3 storage](https://github.com/sq-2026-c/opencloud-compose/blob/main/storage/decomposeds3.yml): `storage/decomposeds3.yml`
- [Image previews](https://github.com/sq-2026-c/opencloud-compose/blob/main/thumbnails/imagor.yml): `thumbnails/imagor.yml`
- [Monitoring](https://github.com/sq-2026-c/opencloud-compose/blob/main/monitoring/monitoring.yml): `monitoring/monitoring.yml`

### Integrations

- [Collabora](https://github.com/sq-2026-c/opencloud-compose/blob/main/weboffice/collabora.yml): `weboffice/collabora.yml`
- [Euro Office](https://github.com/sq-2026-c/opencloud-compose/blob/main/weboffice/euro-office.yml): `weboffice/euro-office.yml`
- [Calendar + contacts](https://github.com/sq-2026-c/opencloud-compose/blob/main/radicale/radicale.yml): `radicale/radicale.yml`
- [Antivirus scanning](https://github.com/sq-2026-c/opencloud-compose/blob/main/antivirus/clamav.yml): `antivirus/clamav.yml`
- [Maps app](https://github.com/sq-2026-c/opencloud-compose/tree/main/config/opencloud/apps/maps): `config/opencloud/apps/maps`

### Other components

- **Operator**
- **Docker Compose**

## Connections

- Operator → Docker Compose: starts stack (evidence: `README.md`)
- Operator → Base stack: selects base (evidence: `README.md`)
- Operator → Traefik routing: selects overlay (evidence: `README.md`)
- Operator → External proxy: selects overlay (evidence: `README.md`)
- Operator → Keycloak + LDAP: selects overlay (evidence: `README.md`)
- Operator → Full-text search: selects overlay (evidence: `README.md`)
- Operator → Collabora: selects backend (evidence: `README.md`)
- Operator → Euro Office: selects backend (evidence: `README.md`)
- Operator → S3 storage: selects overlay
- Operator → Image previews: selects overlay (evidence: `README.md`)
- Operator → Monitoring: selects overlay (evidence: `README.md`)
- Operator → Calendar + contacts: selects overlay (evidence: `README.md`)
- Operator → Antivirus scanning: selects overlay (evidence: `README.md`)
- Operator → Maps app: selects app
- Keycloak + LDAP → Keycloak setup: uses configuration
- Keycloak + LDAP → LDAP setup: uses configuration
