title | taxonomy | ||
---|---|---|---|
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:
- Mender Device Admission Service
- Mender Device Authentication Service
- Mender Deployment Service
- Mender Device Inventory Service
- Mender User Administration Service
- Mender API Gateway
- Minio object storage
- Storage service proxy based on OpenResty
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