From 54e1e7684d9618ed584741b05a58aeae77c29bd0 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 23 May 2024 08:50:15 +0200 Subject: [PATCH] chore: Remove unnecessary content from Docker Compose file --- bootstrap/helpers/shared.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index d57c4dc73..1286ea782 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -1233,6 +1233,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal 'volumes' => $topLevelVolumes->toArray(), 'networks' => $topLevelNetworks->toArray(), ]; + $yaml = data_forget($yaml, 'services.*.volumes.*.content'); $resource->docker_compose_raw = Yaml::dump($yaml, 10, 2); $resource->docker_compose = Yaml::dump($finalServices, 10, 2); $resource->save();