mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-28 22:06:31 +00:00
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 Integration
Includes thesys-svc-rdbmsrole, which handles backups, restores, user and permission management for your relational database system (PostgreSQL, MariaDB, etc.). -
Docker Compose
Utilizes the standalonecomposerole to define and bring up containers, networks, and volumes automatically.
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
composerole to create containers, networks, and volumes. - Invoke
sys-svc-rdbmsrole to provision the database, backups, and users.