class

MStrap::Steps::ComposeStep

Inherits MStrap::Step / MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object

Runnable as mstrap compose, the compose step provides a wrapper around docker compose that loads all profile's services.yml, to allow managing all mstrap-managed Docker services.

NOTE: Due to limitations with how step arguments work, any arguments intended for docker compose must be seperated by -- so as to not get interpretted by the mstrap CLI options parser. For example, using mstrap compose -- --version to print the docker compose version.

Constants

REMOVED_FLAGS = ["-c", "-d", "-f", "-h", "--skip-project-update"]

Class methods

description
Source
setup_cmd!(cmd)
Source

Instance methods

bootstrap

Executes the step

Source