# dockur/casa architecture

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

- Interactive diagram: https://gitdiagram.com/dockur/casa
- Repository: https://github.com/dockur/casa

## Overview

This repository packages CasaOS as a Docker container; the README describes access to its web interface, installing and running apps, and using the host Docker daemon for app containers. The tree identifies CasaOS service submodules, but no source excerpts are available to establish their internal calls or wiring. The graph therefore shows only documented user-facing and Docker-daemon relationships, not an inferred service pipeline.

Main entry points: [`CasaOS`](https://github.com/dockur/casa/tree/master/CasaOS) (CasaOS container), [`CasaOS-UI`](https://github.com/dockur/casa/tree/master/CasaOS-UI) (Web interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platform["CasaOS platform"]
  node_casaos["CasaOS container"]
  node_webui["Web interface"]
end

subgraph group_services["CasaOS services"]
  node_appmanagement["App management"]
  node_gateway["Gateway"]
  node_localstorage["Local storage"]
  node_messagebus["Message bus"]
  node_userservice["User service"]
end

node_user(("User"))
node_docker["Host Docker daemon"]

node_user -->|"accesses"| node_webui
node_casaos -->|"runs app containers through"| node_docker

click node_casaos "https://github.com/dockur/casa/tree/master/CasaOS"
click node_webui "https://github.com/dockur/casa/tree/master/CasaOS-UI"
click node_appmanagement "https://github.com/dockur/casa/tree/master/CasaOS-AppManagement"
click node_gateway "https://github.com/dockur/casa/tree/master/CasaOS-Gateway"
click node_localstorage "https://github.com/dockur/casa/tree/master/CasaOS-LocalStorage"
click node_messagebus "https://github.com/dockur/casa/tree/master/CasaOS-MessageBus"
click node_userservice "https://github.com/dockur/casa/tree/master/CasaOS-UserService"

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_casaos,node_webui,node_user toneBlue
class node_appmanagement,node_gateway,node_localstorage,node_messagebus,node_userservice toneAmber
class node_docker toneIndigo
```

## Components

### CasaOS platform

- [CasaOS container](https://github.com/dockur/casa/tree/master/CasaOS): `CasaOS`
- [Web interface](https://github.com/dockur/casa/tree/master/CasaOS-UI): `CasaOS-UI`

### CasaOS services

- [App management](https://github.com/dockur/casa/tree/master/CasaOS-AppManagement): `CasaOS-AppManagement`
- [Gateway](https://github.com/dockur/casa/tree/master/CasaOS-Gateway): `CasaOS-Gateway`
- [Local storage](https://github.com/dockur/casa/tree/master/CasaOS-LocalStorage): `CasaOS-LocalStorage`
- [Message bus](https://github.com/dockur/casa/tree/master/CasaOS-MessageBus): `CasaOS-MessageBus`
- [User service](https://github.com/dockur/casa/tree/master/CasaOS-UserService): `CasaOS-UserService`

### Other components

- **User**
- **Host Docker daemon**

## Connections

- User → Web interface: accesses (evidence: `README.MD`)
- CasaOS container → Host Docker daemon: runs app containers through (evidence: `README.MD`)
