fix: raw compose deployment

This commit is contained in:
Andras Bacsai
2024-03-18 12:40:58 +01:00
parent faa9a982a9
commit 0a6dab1f24
3 changed files with 3 additions and 3 deletions

View File

@@ -818,7 +818,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
$isDirectory = (bool) data_get($volume, 'isDirectory', false) || (bool) data_get($volume, 'is_directory', false);
}
}
if ($type->value() === 'bind') {
if ($type?->value() === 'bind') {
if ($source->value() === "/var/run/docker.sock") {
return $volume;
}