Skip to main content

Module docker_compose

Module docker_compose 

Source
Expand description

Docker Compose integration for application deployment

This module provides Docker Compose-specific functionality for the deployment system, including template rendering for Docker Compose configuration files.

§Components

  • template - Template rendering functionality for Docker Compose files
  • local_validator - Local docker compose config validation after rendering

Note: Unlike Ansible and Tofu, Docker Compose currently only uses static templates (no Tera variable substitution). If dynamic templates are needed in the future, the template module can be extended similar to Ansible.

Re-exports§

pub use template::DockerComposeProjectGenerator;
pub use template::DockerComposeProjectGeneratorError;

Modules§

local_validator
Local docker compose config validator
template
Docker Compose template functionality

Constants§

DOCKER_COMPOSE_SUBFOLDER
Subdirectory name for Docker Compose-related files within the build directory.