# accelplatform/docker-stacks architecture

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

- Interactive diagram: https://gitdiagram.com/accelplatform/docker-stacks
- Repository: https://github.com/accelplatform/docker-stacks

## Overview

This repository provides a Docker-based standalone Accel Platform stack. Its main workflow is to build a Juggling project into WAR and static assets, then run the application behind Apache HTTPd with supporting database, search, NoSQL, mail, and testing-agent services. The build script and project inputs are visible in the source excerpts; runtime service wiring is represented only where documented in the README, so the graph does not infer undocumented details from configuration files.

Main entry points: [`resin`](https://github.com/accelplatform/docker-stacks/tree/main/resin) (Resin application server), [`juggling-build-war/build.mjs`](https://github.com/accelplatform/docker-stacks/blob/main/juggling-build-war/build.mjs) (WAR builder), [`data/juggling`](https://github.com/accelplatform/docker-stacks/tree/main/data/juggling) (WAR and static assets), [`httpd`](https://github.com/accelplatform/docker-stacks/tree/main/httpd) (Apache HTTPd)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_build["Project build"]
  node_juggling_project["Juggling project"]
  node_user_modules["Additional modules"]
  node_war_builder["WAR builder<br/>[build.mjs]"]
  node_build_artifacts["WAR and static assets"]
end

subgraph group_web["Web application"]
  node_httpd["Apache HTTPd"]
  node_resin["Resin application server"]
end

subgraph group_services["Platform services"]
  node_postgres[("PostgreSQL<br/>[compose.yaml]")]
  node_cassandra[("Cassandra")]
  node_solr["Solr"]
end

subgraph group_integrations["Optional integrations"]
  node_mailpit["Mailpit SMTP<br/>[compose.yaml]"]
  node_testing_agent["Accel Studio test agent"]
end

node_operator(("Operator"))

node_operator -->|"runs build"| node_war_builder
node_juggling_project -->|"provides project"| node_war_builder
node_user_modules -->|"supplies modules"| node_war_builder
node_war_builder -->|"creates artifacts"| node_build_artifacts
node_operator -->|"accesses platform"| node_httpd
node_httpd -->|"forwards requests"| node_resin
node_build_artifacts -->|"provides static files"| node_httpd
node_build_artifacts -->|"provides WAR"| node_resin
node_resin -->|"uses database"| node_postgres
node_resin -->|"uses NoSQL store"| node_cassandra
node_resin -->|"uses search"| node_solr
node_resin -->|"sends mail"| node_mailpit
node_resin -->|"uses test agent"| node_testing_agent

click node_juggling_project "https://github.com/accelplatform/docker-stacks/tree/main/data/juggling/project"
click node_user_modules "https://github.com/accelplatform/docker-stacks/tree/main/data/juggling/additional-modules"
click node_war_builder "https://github.com/accelplatform/docker-stacks/blob/main/juggling-build-war/build.mjs"
click node_build_artifacts "https://github.com/accelplatform/docker-stacks/tree/main/data/juggling"
click node_httpd "https://github.com/accelplatform/docker-stacks/tree/main/httpd"
click node_resin "https://github.com/accelplatform/docker-stacks/tree/main/resin"
click node_postgres "https://github.com/accelplatform/docker-stacks/blob/main/compose.yaml"
click node_cassandra "https://github.com/accelplatform/docker-stacks/tree/main/cassandra"
click node_solr "https://github.com/accelplatform/docker-stacks/tree/main/solr"
click node_mailpit "https://github.com/accelplatform/docker-stacks/blob/main/compose.yaml"
click node_testing_agent "https://github.com/accelplatform/docker-stacks/tree/main/accelstudio-testing-agent"

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_juggling_project,node_user_modules,node_war_builder,node_build_artifacts toneBlue
class node_httpd,node_resin toneAmber
class node_postgres,node_cassandra,node_solr toneMint
class node_mailpit,node_testing_agent toneRose
class node_operator toneIndigo
```

## Components

### Project build

- [Juggling project](https://github.com/accelplatform/docker-stacks/tree/main/data/juggling/project): `data/juggling/project`
- [Additional modules](https://github.com/accelplatform/docker-stacks/tree/main/data/juggling/additional-modules): `data/juggling/additional-modules`
- [WAR builder](https://github.com/accelplatform/docker-stacks/blob/main/juggling-build-war/build.mjs): `juggling-build-war/build.mjs`
- [WAR and static assets](https://github.com/accelplatform/docker-stacks/tree/main/data/juggling): `data/juggling`

### Web application

- [Apache HTTPd](https://github.com/accelplatform/docker-stacks/tree/main/httpd): `httpd`
- [Resin application server](https://github.com/accelplatform/docker-stacks/tree/main/resin): `resin`

### Platform services

- [PostgreSQL](https://github.com/accelplatform/docker-stacks/blob/main/compose.yaml): `compose.yaml`
- [Cassandra](https://github.com/accelplatform/docker-stacks/tree/main/cassandra): `cassandra`
- [Solr](https://github.com/accelplatform/docker-stacks/tree/main/solr): `solr`

### Optional integrations

- [Mailpit SMTP](https://github.com/accelplatform/docker-stacks/blob/main/compose.yaml): `compose.yaml`
- [Accel Studio test agent](https://github.com/accelplatform/docker-stacks/tree/main/accelstudio-testing-agent): `accelstudio-testing-agent`

### Other components

- **Operator**

## Connections

- Operator → WAR builder: runs build (evidence: `README.md`)
- Juggling project → WAR builder: provides project (evidence: `juggling-build-war/build.mjs`)
- Additional modules → WAR builder: supplies modules (evidence: `juggling-build-war/build.mjs`)
- WAR builder → WAR and static assets: creates artifacts (evidence: `README.md`)
- Operator → Apache HTTPd: accesses platform (evidence: `README.md`)
- Apache HTTPd → Resin application server: forwards requests (evidence: `README.md`)
- WAR and static assets → Apache HTTPd: provides static files (evidence: `README.md`)
- WAR and static assets → Resin application server: provides WAR (evidence: `README.md`)
- Resin application server → PostgreSQL: uses database (evidence: `README.md`)
- Resin application server → Cassandra: uses NoSQL store (evidence: `README.md`)
- Resin application server → Solr: uses search (evidence: `README.md`)
- Resin application server → Mailpit SMTP: sends mail (evidence: `README.md`)
- Resin application server → Accel Studio test agent: uses test agent (evidence: `README.md`)
