Cli/ref/mw docker shellbox

From mediawiki.org
< Cli‎ | ref

mw docker shellbox[edit]

shellbox services

Synopsis[edit]

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.

Different shellbox services include different libraries for different use cases.

The services provided by this command current make use of the Wikimedia Foundation pre built containers https://docker-registry.wikimedia.org/wikimedia/mediawiki-libs-shellbox/tags/

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>';

This will also be connected to $wgShellboxUrls automatically if the service is running for any known compatible URLs.

$wgShellboxUrls['pagedtiffhandler'] = $dockerServices['shellbox-media'];

Please see the help text of individual shellbox services to see the exact details.

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]