Cli/ref/mw docker
Appearance
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]- mw - Developer utilities for working with MediaWiki and Wikimedia services.
- mw docker adminer - adminer service
- mw docker citoid - citoid service
- mw docker compose - Interact directly with the docker compose environment
- mw docker custom - custom docker compose service sets
- mw docker destroy - Destroy all containers and data
- mw docker elasticsearch - elasticsearch service
- mw docker env - Interact with the environment variables
- mw docker eventlogging - eventlogging service
- mw docker graphite - graphite service
- mw docker hosts - Interact with your system hosts file
- mw docker jaeger - jaeger service
- mw docker keycloak - Keycloak service
- mw docker mailhog - mailhog service
- mw docker mediawiki - MediaWiki service
- mw docker memcached - memcached service
- mw docker mysql - mysql service
- mw docker mysql-replica - mysql-replica service
- mw docker phpmyadmin - phpmyadmin service
- mw docker postgres - postgres service
- mw docker redis - redis service
- mw docker restart - Restart the running containers
- mw docker shellbox - shellbox services
- mw docker start - Start containers that were running before
- mw docker stop - Stop all currently running containers
- mw docker update - Update running containers
- mw docker wdqs - wdqs service
- mw docker wdqs-ui - wdqs-ui service
- mw docker where - Outputs the path of the working directory for the environment