mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
allow to add tmpfs
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
a8ed5d3dc8
commit
a1727d3f4f
4 changed files with 25 additions and 0 deletions
|
|
@ -430,6 +430,11 @@ class DockerActionManager
|
|||
$requestBody['HostConfig']['ShmSize'] = $shmSize;
|
||||
}
|
||||
|
||||
$tmpfs = $container->GetTmpfs();
|
||||
if (count($tmpfs) > 0) {
|
||||
$requestBody['HostConfig']['Tmpfs'] = $tmpfs;
|
||||
}
|
||||
|
||||
$capAdds = $container->GetCapAdds();
|
||||
if (count($capAdds) > 0) {
|
||||
$requestBody['HostConfig']['CapAdd'] = $capAdds;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue