mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-05 21:37:58 +00:00
Make 'collaboraSeccompDisabled' an attribute
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
17f7663a64
commit
0a208136cb
2 changed files with 6 additions and 12 deletions
|
|
@ -412,7 +412,7 @@ readonly class DockerActionManager {
|
|||
|
||||
// Special things for the collabora container which should not be exposed in the containers.json
|
||||
} elseif ($container->identifier === 'nextcloud-aio-collabora') {
|
||||
if (!$this->configurationManager->isSeccompDisabled()) {
|
||||
if (!$this->configurationManager->collaboraSeccompDisabled) {
|
||||
// Load reference seccomp profile for collabora
|
||||
$seccompProfile = (string)file_get_contents(DataConst::GetCollaboraSeccompProfilePath());
|
||||
$requestBody['HostConfig']['SecurityOpt'] = ["label:disable", "seccomp=$seccompProfile"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue