# opencti-platform/docker architecture

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

- Interactive diagram: https://gitdiagram.com/opencti-platform/docker
- Repository: https://github.com/opencti-platform/docker

## Overview

This repository packages a Docker deployment of OpenCTI alongside XTM One. The documented workflow is users access XTM One, whose platform connects to OpenCTI; OpenCTI also registers with XTM One for trusted assistant actions. XTM One shares Redis and MinIO and has a dedicated PostgreSQL instance. The graph reflects only relationships stated in the README; source excerpts were not available to verify additional service wiring or the exact compose-file ownership of each service.

Main entry points: [`docker-compose.yml`](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml) (XTM One platform)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platforms["Platforms"]
  node_opencti["OpenCTI<br/>[docker-compose.yml]"]
  node_xtm_platform["XTM One platform<br/>[docker-compose.yml]"]
  node_xtm_worker["XTM One worker<br/>[docker-compose.yml]"]
end

subgraph group_xtm_support["XTM One support"]
  node_xtm_postgres[("XTM PostgreSQL<br/>[docker-compose.yml]")]
end

subgraph group_shared_infrastructure["Shared infrastructure"]
  node_redis[("Redis<br/>[docker-compose.yml]")]
  node_minio["MinIO<br/>[docker-compose.yml]"]
end

node_user(("User"))

node_user -->|"uses web UI"| node_xtm_platform
node_xtm_platform -->|"calls API"| node_opencti
node_xtm_platform -->|"fetches signing keys"| node_opencti
node_opencti -->|"registers with"| node_xtm_platform
node_opencti -->|"reads identity"| node_xtm_platform
node_xtm_platform -->|"reuses"| node_redis
node_xtm_platform -->|"reuses"| node_minio
node_xtm_platform -->|"uses database"| node_xtm_postgres

click node_opencti "https://github.com/opencti-platform/docker/blob/master/docker-compose.yml"
click node_xtm_platform "https://github.com/opencti-platform/docker/blob/master/docker-compose.yml"
click node_xtm_worker "https://github.com/opencti-platform/docker/blob/master/docker-compose.yml"
click node_xtm_postgres "https://github.com/opencti-platform/docker/blob/master/docker-compose.yml"
click node_redis "https://github.com/opencti-platform/docker/blob/master/docker-compose.yml"
click node_minio "https://github.com/opencti-platform/docker/blob/master/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_opencti,node_xtm_platform,node_xtm_worker,node_user toneBlue
class node_xtm_postgres toneAmber
class node_redis,node_minio toneMint
```

## Components

### Platforms

- [OpenCTI](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml): `docker-compose.yml`
- [XTM One platform](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml): `docker-compose.yml`
- [XTM One worker](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml): `docker-compose.yml`

### XTM One support

- [XTM PostgreSQL](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml): `docker-compose.yml`

### Shared infrastructure

- [Redis](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml): `docker-compose.yml`
- [MinIO](https://github.com/opencti-platform/docker/blob/master/docker-compose.yml): `docker-compose.yml`

### Other components

- **User**

## Connections

- User → XTM One platform: uses web UI (evidence: `README.md`)
- XTM One platform → OpenCTI: calls API (evidence: `README.md`)
- XTM One platform → OpenCTI: fetches signing keys (evidence: `README.md`)
- OpenCTI → XTM One platform: registers with (evidence: `README.md`)
- OpenCTI → XTM One platform: reads identity (evidence: `README.md`)
- XTM One platform → Redis: reuses (evidence: `README.md`)
- XTM One platform → MinIO: reuses (evidence: `README.md`)
- XTM One platform → XTM PostgreSQL: uses database (evidence: `README.md`)
