mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-27 07:13:20 +08:00
Merge pull request #3240 from nextcloud/enh/3239/disable-selinux
This commit is contained in:
commit
881f226875
1 changed files with 3 additions and 0 deletions
|
@ -509,6 +509,9 @@ class DockerActionManager
|
|||
}
|
||||
$mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "BindOptions" => [ "Propagation" => "rshared"]];
|
||||
}
|
||||
// Special things for the watchtower and docker-socket-proxy container which should not be exposed in the containers.json
|
||||
} elseif ($container->GetIdentifier() === 'nextcloud-aio-watchtower' || $container->GetIdentifier() === 'nextcloud-aio-docker-socket-proxy') {
|
||||
$requestBody['HostConfig']['SecurityOpt'] = ["label=disabled"];
|
||||
}
|
||||
|
||||
if (count($mounts) > 0) {
|
||||
|
|
Loading…
Reference in a new issue