Cli/ref/mw docker redis
mw docker redis[edit]
redis service
Synopsis[edit]
Redis service[edit]
Using this service will automagically configure (but not use) an object cache in MediaWiki
$wgObjectCaches['redis'] = [
'class' => 'RedisBagOStuff',
'servers' => [ 'redis:6379' ],
];
Documentation[edit]
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 - The MediaWiki-Docker-Dev like development environment
- mw docker redis create - Create the containers
- mw docker redis destroy - Destroy the containers
- mw docker redis exec - Execute a command in the main container
- mw docker redis expose - Expose a port in a running container
- mw docker redis image - Interact with the image used for the service
- mw docker redis redis-cli - Runs redis-cli in the container
- mw docker redis start - Start the containers
- mw docker redis stop - Stop the containers