From 8837836d8684384c0feafed96ca8cec1184cf155 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 21 Jan 2023 12:28:02 +0000 Subject: [PATCH] fix: Docker Compose configuration is an object --- src/Console/Command/BuildConfigurationCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Command/BuildConfigurationCommand.php b/src/Console/Command/BuildConfigurationCommand.php index b6b957e..431d299 100644 --- a/src/Console/Command/BuildConfigurationCommand.php +++ b/src/Console/Command/BuildConfigurationCommand.php @@ -52,7 +52,7 @@ final class BuildConfigurationCommand extends Command $this->filesystem->dumpFile("{$outputDir}/.env.example", $this->twig->render('env.example.twig', $configurationData)); $this->filesystem->dumpFile("{$outputDir}/Dockerfile", $this->twig->render('Dockerfile.twig', $configurationData)); - if ($configurationData['dockerCompose'] === true) { + if ($configurationData['dockerCompose'] !== null) { $this->filesystem->dumpFile("{$outputDir}/docker-compose.yaml", $this->twig->render('docker-compose.yaml.twig', $configurationData)); }