Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 28 additions & 9 deletions docs/reference/ARCHITECTURE_DIAGRAMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@ graph TB

---

## System Context Diagram

---

## Citation System Architecture

### Component Overview
Expand Down Expand Up @@ -772,15 +768,38 @@ flowchart LR
ScheduleData[("scheduler_data: scheduler SQLite job store")]
Browser --> Frontend
Browser --> Backend
Frontend -. waits for backend health .-> Backend
Backend --> AppData
Backend --> ScheduleData
```

The [standard Compose configuration](../../docker-compose.yml) publishes the
frontend on port 3000 and the API on port 8001. Its backend waits for a healthy
PostgreSQL service backed by the `postgres_data` volume. It also declares the
piece engine and browser service. The
[deployment guide](../deployment/DOCKER_DEPLOYMENT.md) covers operator setup.
The [standard Compose configuration](../../docker-compose.yml) also declares
the piece engine and browser service. Their published interfaces appear in
the diagram. Configured services and open ports alone do not establish
permission or successful integration use.

```mermaid
flowchart LR
Browser["Browser"]
Frontend["Web frontend, host 3000 to container 3000"]
Backend["Backend API, host 8001 to container 8000"]
Postgres["PostgreSQL, internal port 5432"]
PostgresData[("postgres_data: application SQL state")]
ScheduleData[("scheduler_data: scheduler SQLite job store")]
Pieces["Piece engine, host 3003 to container 3003"]
BrowserNode["Browser service, host 3001 to container 3000"]
Browser --> Frontend
Browser --> Backend
Backend -->|SQL, waits for health| Postgres
Postgres --> PostgresData
Backend --> ScheduleData
```

Both stacks default to the scheduler volume when
`SCHEDULER_JOB_STORE_URL` is unset. The application database and scheduler
store are separate, so plan for both when backing up. See the
[deployment guide](../deployment/DOCKER_DEPLOYMENT.md) and
[Personal Edition operator guide](../operations/personal-edition.md).

## Database Recovery Evidence

Expand Down
Loading