This stack centralizes relational and cache services that back every other workload in the homelab. PostgreSQL, Redis (Valkey), and MariaDB each run on the shared db_net network so application stacks can discover them by container name.【F:databases/compose.yml†L1-L82】
db_net only; ingress is handled by application stacks rather than exposing ports to the host.【F:databases/compose.yml†L4-L37】pg_data, redis_data, and mariadb_data keep state on cache pools for durability; Autorestic backs them up via the Dev Tools stack.【F:databases/compose.yml†L6-L37】【F:devtools/compose.yml†L186-L238】| Service | Role |
|---|---|
| postgres | Primary PostgreSQL 16 instance hosting schemas for Authentik, Paperless, Mealie, Wiki.js, Portnote, and more. |
| redis | Redis 7 cache and message broker shared by Authentik, Paperless, n8n, and other stacks. |
| mariadb | MariaDB 11 relational database for workloads such as Booklore and RomM. |
.env file; several services expect custom usernames (e.g., paperless, mealie, wikijs).【F:tools/compose.yml†L26-L178】【F:devtools/compose.yml†L83-L178】