Database Docker CompositionΒΆ
DescriptionΒΆ
This role combines the central RDBMS role (sys-svc-rdbms) with Docker Compose to deliver a ready-to-use containerized database environment.
OverviewΒΆ
This role combines Docker Compose with a central RDBMS role to automatically provision database containers with backup, user, and permission management.
CosmosΒΆ
The diagram places Database Docker Composition in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks).
flowchart LR
subgraph role [sys-stk-backend π»]
svc_backend["backend"]
end
Solid 1:1 edges are fixed relationships; dashed 0..1 edges are conditional (enabled only in matching deployments); red 0..0 edges are turned off in this role. Node markers show the roleβs deploy modes (π» host, π³ compose, π swarm); β marks a service that is explicitly turned off, and βοΈ an Ansible role dependency declared in meta/main.yml.
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.
CreditsΒΆ
Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).