chore: collect/create/update volumes in parseDockerComposeFile function

This commit is contained in:
Andras Bacsai
2024-07-26 20:04:41 +02:00
parent d6fb54f3c3
commit 04379b76f2

View File

@@ -964,6 +964,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
data_set($service, 'networks', $networks->toArray());
}
// Collect/create/update volumes
if ($serviceVolumes->count() > 0) {
$serviceVolumes = $serviceVolumes->map(function ($volume) use ($savedService, $topLevelVolumes) {
$type = null;