Beantragt
Operation

Operation

Structure of the Compose package, services, ports and data of a self-hosted installation.

The self-hosting package is located in the backend repository under deploy/selfhost. It consists of compose.yaml, the additions compose.mail.yaml and compose.build.yaml, the .env.example template and the Drupal start scripts.

Services and ports

ServicePurposeHost port
uiCitizen portal and caseworkUI_PORT, default 13000
nginxServes DrupalDRUPAL_PORT, default 18080
drupalDrupal with PHP-FPMnone
dbMariaDBnone
docgenDocument servicenone
docgen-gotenberg, docgen-verapdfPDF/A conversion and validationnone
clamavVirus scanning of attachmentsnone
mailpitTest mailbox in the default setupMAIL_PORT, default 18025

Published ports are bound to loopback. Docgen, Gotenberg and veraPDF run in internal Docker networks without outside connectivity.

Data and secrets

On first startup, Compose generates the database and service passwords, the Drupal salt, the application encryption key and the token for the document service. Database, files and secrets are stored in named volumes. docker compose down keeps these volumes. docker compose down --volumes deletes the data and secrets of the installation. A complete backup covers all volumes of the project.

Topics