Cli/ref/mw docker compose

From mediawiki.org
< Cli‎ | ref

mw docker compose[edit]

Interact directly with the docker compose environment

Synopsis[edit]

docker-compose[edit]

This development environment utilizes docker compose to orchestrate docker containers that make deliver the environment.

The docker compose commands that are run are abstracted away but can be seen where possible by asking for verbose output -v=2.

As the development environment is made up of many YAML files this command has been provided to facilitate running docker compose commands directly.

All needed --file options, as well as the correct --project-directory etc will be added to your input.

mw docker compose [flags] [compose command] -- [compose flags]

Examples[edit]

compose ps
compose -v=2 ps
compose -v=2 ps -- --services

Options inherited from parent commands[edit]

  -c, --context string   The context to use (default "default")
      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO[edit]

  • mw docker - An advanced docker compose based development environment