< Cli < ref

mw docker docker-compose

Interact directly with docker-compose

Synopsis

docker-compose

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 docker-compose [flags] [docker-compose command] -- [docker-compose flags]

Examples

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

Options inherited from parent commands

  -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

  • mw docker - The MediaWiki-Docker-Dev like development environment
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.