mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
allow to specify read_only root FS in containers definition
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
27d99efebf
commit
cf1efa9bb0
4 changed files with 18 additions and 0 deletions
|
|
@ -377,6 +377,8 @@ class DockerActionManager
|
|||
}
|
||||
|
||||
$requestBody['HostConfig']['RestartPolicy']['Name'] = $container->GetRestartPolicy();
|
||||
|
||||
$requestBody['HostConfig']['ReadonlyRootfs'] = $container->GetReadOnlySetting();
|
||||
|
||||
$exposedPorts = [];
|
||||
if ($container->GetInternalPort() !== 'host') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue