Files
ntbops-ansible/roles/docker_app

docker_app

Shared adapter role for single-container Docker Compose applications. Application roles set docker_app_* variables and include this role.

docker_app validates single-container app inputs and delegates the common Compose lifecycle to compose_project.

It supports direct host-port publishing with UFW rules or Traefik routing via labels and a shared Docker network.

Tags: docker_app, docker, config, compose, firewall.