chore: collect/create/update volumes in parseDockerComposeFile function
This commit is contained in:
parent
d6fb54f3c3
commit
04379b76f2
1 changed files with 1 additions and 0 deletions
|
|
@ -964,6 +964,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
|
||||||
data_set($service, 'networks', $networks->toArray());
|
data_set($service, 'networks', $networks->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Collect/create/update volumes
|
||||||
if ($serviceVolumes->count() > 0) {
|
if ($serviceVolumes->count() > 0) {
|
||||||
$serviceVolumes = $serviceVolumes->map(function ($volume) use ($savedService, $topLevelVolumes) {
|
$serviceVolumes = $serviceVolumes->map(function ($volume) use ($savedService, $topLevelVolumes) {
|
||||||
$type = null;
|
$type = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue