Jump to content

Cli/ref/mw docker

From mediawiki.org
< Cli | ref

mw docker

[edit]

An advanced docker compose based development environment

Synopsis

[edit]

Docker development environment

[edit]

A docker based MediaWiki development environment.

You can start a basic MediaWiki MySQL development environment with the following commands:

mw docker mediawiki create
mw docker mysql create
mw docker mediawiki install --dbtype=mysql

You can: - Suplement this environment with additional services over time (See “Service commands” such as redis) - Recreate the entire environment in seconds (See destroy) - Run sites (See mediawiki install) and multiple environments simultaniously (See --context) - Run all common developer tools inside docker with ease (Eg. mediawiki composer / fresh / quibble)

Options

[edit]
  -c, --context string   The context to use (default "default")

Options inherited from parent commands

[edit]
      --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]