Sys-ctl-rpr-docker-soft Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Automated recovery for unhealthy or exited Docker Compose containers.
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
min_ansible_version: 2.9
platforms: [{‘name’: ‘Archlinux’, ‘versions’: [‘rolling’]}]
galaxy_tags: [‘docker’, ‘docker-compose’, ‘systemd’, ‘automation’, ‘archlinux’]
repository: https://s.infinito.nexus/code
issue_tracker_url: https://s.infinito.nexus/issues
documentation: https://docs.infinito.nexus/
README¶
Docker Healer 🩺¶
Description¶
This Ansible role automatically restarts Docker Compose configurations with exited or unhealthy containers on Arch Linux systems. It ensures the stability of containerized workloads by recovering from common error conditions like port binding issues.
Overview¶
Tailored for Arch Linux, this role monitors containers for failure states and initiates a controlled restart of affected Compose configurations. If port conflicts prevent recovery, the role stops the affected stack, restarts Docker, and recreates the container environment.
Purpose¶
The purpose of this role is to provide automated healing for Docker Compose environments, minimizing manual recovery effort and reducing downtime.
Features¶
Container Health Monitoring: Detects unhealthy or exited containers.
Automated Recovery: Restarts failed containers and resolves port binding issues.
Run-once Setup Logic: Ensures idempotent execution by controlling task flow with internal flags.
System Role Integration: Seamlessly integrates with Infinito.Nexus system maintenance logic.