User:Legoktm/Shellbox
Appearance
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