Cli/guide/Docker-Development-Environment

A Docker-based deveploment environment for MediaWiki.

Seperate guides

 * Cli/guide/Docker-Development-Environment/First-Setup
 * Cli/guide/Docker-Development-Environment/MediaWiki

MySQL Services
The "Initial setup" guide already walked you through creating a simple mysql wiki.

PHPMyAdmin & Adminer
PHPMyAdmin & Adminer are web interfaces for various databases.

You can easily run these as part of the development environment.

MySQL Replication
You can choose to add a mysql replica at any time. Replication will be handled automatically (but may take some time to catch up if you have already performed lots of actions).

Other services
All services follow similar patterns of create, suspend, resume, destroy.

Services will generally be automatically configured with MediaWiki when they are run.

Alter a container environment variable
If you want to alter an environment variable on a container, you'll need to re create the container after the change.

For example:

You should see that the container recreates:

Using a different base docker image
You may want to use a different base image for your MediaWiki container. For example, you might want to use a different PHP version than the default. You can do so by setting the  environment variable: