User:Legoktm/Shellbox

From mediawiki.org
wfLoadExtension( 'Score' );
$wgScoreTrim = true;
$wgImageMagickConvertCommand = '/usr/bin/convert';
// `minikube ip` and port from `kubectl get svc`
$wgShellboxUrl = 'http://192.168.49.2:32505';
$wgShellboxSecretKey = 'password';
$wgDebugLogGroups['exec'] = [
	'destination' => 'exec.log',
	'level' => 'debug',
];

To get root in the running container:

$ minikube ssh
$ docker ps
$ # look for "shellbox-default-app" container
$ docker exec --user=root -it <container id> /bin/bash