You are browsing documentation for a version other than the latest stable release. Switch to the latest stable release, 1.1.

Overview

Mender backend is composed of a number of microservices, each implementing a small, well defined piece of functionality.

The integration environment, previously used in Create a test environment chapter, brings together the following services:

Services are delivered in form of Docker images, available from official Mender Docker repository. When required, each service can be built directly from its source code. Consult respective repositories for build instructions.

While it is possible to docker pull individual images and start containers manually, the integration repository provides a convenient setup based on Docker Compose tool. The docker-compose.yml file describes the following setup:

        |
        |                                            +-------------------------+
        |                                            |                         |
        |                                       +--->|  Device Authentication  |
        |                                       |    |  (mender-device-auth)   |
        |                                       |    +-------------------------+
        |        +-----------------------+      |    |                         |
   port |        |                       |      +--->|  Device Admission       |
    443 | <----> |  API Gateway          |      |    |  (mender-device-adm)    |
        |        |  (mender-api-gateway) |<-----+    +-------------------------+
        |        +-----------------------+      |    |                         |
        |                                       +--->|  Inventory              |
        |                                       |    |  (mender-inventory)     |
        |                                       |    +-------------------------+
        |                                       |    |                         |
        |                                       +--->|  User Administration    |
        |                                       |    |  (mender-useradm)       |
        |                                       |    +-------------------------+
        |                                       +--->|                         |
        |                                            |  Deployments            |
        |              +---------------------------->|  (mender-deployments)   |
        |              |                             +-------------------------+
        |              |
        |              |
        |              v
        |        +------------------+                 +---------+
   port |        |                  |                 |         |
   9000 | <----> |  Storage Proxy   |<--------------->| Minio   |
        |        |  (storage-proxy) |                 | (minio) |
        |        +------------------+                 +---------+
        |

For details and best practices of using docker-compose in production consult the official documentation: Using Compose in production