Sys-stk-back-stateful Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Combines Docker Compose with a central RDBMS role to automatically provision database containers with backup, user, and permission management.
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
galaxy_tags: [‘docker’, ‘database’, ‘rdbms’, ‘backup’, ‘compose’]
README¶
Database Docker Composition¶
This role combines the central RDBMS role (sys-svc-rdbms) with
Docker Compose to deliver a ready-to-use containerized database
environment.
Features¶
- Central RDBMS IntegrationIncludes the
sys-svc-rdbmsrole, which handles backups, restores, user and permission management for your relational database system (PostgreSQL, MariaDB, etc.). - Docker ComposeUtilizes the standalone
docker-composerole to define and bring up containers, networks, and volumes automatically. Variable Load Order
Docker Compose variables (
roles/docker-compose/vars/docker-compose.yml)Database variables (
roles/sys-svc-rdbms/vars/database.yml) Ensures compose ports and volumes are defined before the database role consumes them.
The role will load both sub-roles and satisfy all dependencies transparently.
Task Breakdown¶
Set Fact
database_application_idto work around lazy‐loading ordering.Include Vars in the specified order.
Invoke
docker-composerole to create containers, networks, and volumes.Invoke
sys-svc-rdbmsrole to provision the database, backups, and users.