# Application Structure & Deployment

The application consists of 4 building blocks:

![](https://1236084948-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXRdp_T2Gxc4wMTat_j%2F-MXRgvub_YkkULskGgWH%2F-MXRiZMv1ewUN1rtYIMF%2Fapplication-architecture.png?alt=media\&token=e4ae4e5a-83ce-4a23-ab36-6dba11b58322)

These building blocks can be deployed as docker containers using the `docker-compose.yml` file (provided in the `_environments` directory).

A possible deployment diagram for the application on a Synology NAS with docker can look like this:

![deployment diagram](https://raw.githubusercontent.com/d-lopes/dmsplus/master/docu/img/deployment.png)

See also the [installation](https://github.com/d-lopes/dmsplus/wiki/Installation) page for further details.
