# solidtime-io/self-hosting-examples architecture

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

- Interactive diagram: https://gitdiagram.com/solidtime-io/self-hosting-examples
- Repository: https://github.com/solidtime-io/self-hosting-examples

## Overview

This repository provides self-hosting examples for solidtime, rather than implementing the application itself. The user workflow is to consult the self-hosting documentation, then use an example as a starting point for a deployment. The tree shows two Compose-based examples, but their service definitions and per-example instructions were not provided, so their internal runtime relationships are omitted.

Main entry points: [`0-docker-traefik-with-database/docker-compose.yml`](https://github.com/solidtime-io/self-hosting-examples/blob/main/0-docker-traefik-with-database/docker-compose.yml) (Proxy and database example), [`1-docker-with-database/docker-compose.yml`](https://github.com/solidtime-io/self-hosting-examples/blob/main/1-docker-with-database/docker-compose.yml) (Database example)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guidance["Setup guidance"]
  node_docs["Self-hosting docs"]
end

subgraph group_examples["Deployment examples"]
  node_proxy_db_example["Proxy and database example<br/>[docker-compose.yml]"]
  node_database_example["Database example<br/>[docker-compose.yml]"]
end

node_operator(("Self-hoster"))
node_solidtime["solidtime"]

node_operator -->|"consults first"| node_docs
node_operator -->|"uses as starting point"| node_proxy_db_example
node_operator -->|"uses as starting point"| node_database_example
node_proxy_db_example -->|"supports self-hosting"| node_solidtime
node_database_example -->|"supports self-hosting"| node_solidtime

click node_proxy_db_example "https://github.com/solidtime-io/self-hosting-examples/blob/main/0-docker-traefik-with-database/docker-compose.yml"
click node_database_example "https://github.com/solidtime-io/self-hosting-examples/blob/main/1-docker-with-database/docker-compose.yml"

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_docs toneBlue
class node_proxy_db_example,node_database_example toneAmber
class node_operator,node_solidtime toneIndigo
```

## Components

### Setup guidance

- **Self-hosting docs**

### Deployment examples

- [Proxy and database example](https://github.com/solidtime-io/self-hosting-examples/blob/main/0-docker-traefik-with-database/docker-compose.yml): `0-docker-traefik-with-database/docker-compose.yml`
- [Database example](https://github.com/solidtime-io/self-hosting-examples/blob/main/1-docker-with-database/docker-compose.yml): `1-docker-with-database/docker-compose.yml`

### Other components

- **Self-hoster**
- **solidtime**

## Connections

- Self-hoster → Self-hosting docs: consults first (evidence: `readme.md`)
- Self-hoster → Proxy and database example: uses as starting point (evidence: `readme.md`)
- Self-hoster → Database example: uses as starting point (evidence: `readme.md`)
- Proxy and database example → solidtime: supports self-hosting (evidence: `readme.md`)
- Database example → solidtime: supports self-hosting (evidence: `readme.md`)
