Add file permission change for LocalFileVolume.php and add service_name parameter to fqdnLabelsForTraefik() function

This commit is contained in:
Andras Bacsai committed 2024-02-21 11:21:11 +01:00
1 parent 1ca0464957
commit 74b24a0690
3 files changed
+15 -9

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ class LocalFileVolume extends BaseModel
if ($content) {
$content = base64_encode($content);
$commands->push("echo '$content' | base64 -d > $path");
$commands->push("chmod +x $path");
}
} else if ($isDir == 'NOK' && $fileVolume->is_directory) {
$commands->push("mkdir -p $path > /dev/null 2>&1 || true");