Skip to content

External components

Leonid Kozarin edited this page Apr 9, 2023 · 1 revision

External Сomponents

DeploymentDiagram

The bot requires the following infrastructure components, which can be run in containers using Docker Compose, to work:

  • PostgreSQL database;
  • Redis as a fast KV storage with TTL support to persist the command states temporary;
  • Reverse proxy to manage certificates and decrypt TLS traffic into plain HTTP (nginx-proxy with acme-companion are pretty well for this);
  • (optional) Prometheus to scrape and view metrics.