mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	- Removed obsolete 'cmp' category, introduced 'stk' category (fa-bars-staggered icon). - Renamed roles: * cmp-db-docker → sys-stk-back-stateful * cmp-docker-oauth2 → sys-stk-back-stateless * srv-domain-provision → sys-stk-front * cmp-db-docker-proxy → sys-stk-full-stateful * cmp-docker-proxy → sys-stk-full-stateless * cmp-rdbms → sys-svc-rdbms - Updated all include_role references, vars, templates and README.md files. - Adjusted run_once comments and variable paths accordingly. - Updated all web-app roles to use new sys-stk/* and sys-svc/* roles. Conversation: https://chatgpt.com/share/68b0ba66-09f8-800f-86fc-76c47009d431
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 standalonedocker-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. 
 - Docker Compose variables (
 
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.