Cli/ref/mw docker shellbox media
Appearance
mw docker shellbox media
[edit]media service
Synopsis
[edit]
Media shellbox
[edit]Shellbox is a library for command execution, and also a server and client for remote command execution. Shellbox is usable starting with MediaWiki 1.36.
For “automatic” configuration we follow a pattern similar to the Wikimedia production config. If you run a service, you will find a service URL defined in $dockerServices.
$dockerServices['shellbox-media'] = '<internal-url>';
Known ShellboxUrls are then also configured. Currently that is the following Urls.
$wgShellboxUrls['pagedtiffhandler'] = $dockerServices['shellbox-media'];
$wgShellboxUrls['pdfhandler'] = $dockerServices['shellbox-media'];
You can add more to your LocalSettings.php file if needed.
Note: This service will NOT be automatically loaded if MW_PHPUNIT_TEST is defined. (This happens when you are running unit tests)
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 shellbox - shellbox services
- mw docker shellbox media create - Create the containers
- mw docker shellbox media destroy - Destroy the containers
- mw docker shellbox media exec - Execute a command in the main container
- mw docker shellbox media expose - Expose a port in a running container
- mw docker shellbox media image - Interact with the image used for the service
- mw docker shellbox media start - Start the containers
- mw docker shellbox media stop - Stop the containers