mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-27 15:25:40 +08:00
add executable bit on tmpfs for nextcloud container
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
e8ef49c42f
commit
3d868d4457
3 changed files with 7 additions and 3 deletions
|
@ -141,7 +141,7 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^/[a-z/_0-9-]+$"
|
||||
"pattern": "^/[a-z/_0-9-:]+$"
|
||||
}
|
||||
},
|
||||
"volumes": {
|
||||
|
|
|
@ -211,7 +211,7 @@
|
|||
"nextcloud-aio"
|
||||
],
|
||||
"tmpfs": [
|
||||
"/tmp"
|
||||
"/tmp:exec"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -439,7 +439,11 @@ class DockerActionManager
|
|||
|
||||
$tmpfs = [];
|
||||
foreach($container->GetTmpfs() as $tmp) {
|
||||
$tmpfs[$tmp] = "";
|
||||
$mode = "";
|
||||
if (str_contains($tmp, ':')) {
|
||||
$mode = explode(':', $tmp)[1];
|
||||
}
|
||||
$tmpfs[$tmp] = $mode;
|
||||
}
|
||||
if (count($tmpfs) > 0) {
|
||||
$requestBody['HostConfig']['Tmpfs'] = $tmpfs;
|
||||
|
|
Loading…
Reference in a new issue