diff --git a/src/Maker/MakeDockerDatabase.php b/src/Maker/MakeDockerDatabase.php index f20adab03..2c32c857d 100644 --- a/src/Maker/MakeDockerDatabase.php +++ b/src/Maker/MakeDockerDatabase.php @@ -108,7 +108,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma $io->text($serviceNameMsg); - $this->serviceName = $io->ask(sprintf('What name should we call the new %s service? e.g. database', $this->serviceName), null, [Validator::class, 'notBlank']); + $this->serviceName = $io->ask(sprintf('What name should we call the new %s service? (e.g. database)', $this->serviceName), null, [Validator::class, 'notBlank']); } $this->checkForPDOSupport($this->databaseChoice, $io); diff --git a/src/Util/ComposeFileManipulator.php b/src/Util/ComposeFileManipulator.php index 96e3a235b..339899bbd 100644 --- a/src/Util/ComposeFileManipulator.php +++ b/src/Util/ComposeFileManipulator.php @@ -87,7 +87,7 @@ public function exposePorts(string $service, array $ports): void $portData[] = sprintf('%s To allow the host machine to access the ports below, modify the lines below.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE); $portData[] = sprintf('%s For example, to allow the host to connect to port 3306 on the container, you would change', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE); $portData[] = sprintf('%s "3306" to "3306:3306". Where the first port is exposed to the host and the second is the container port.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE); - $portData[] = sprintf('%s See https://docs.docker.com/compose/compose-file/#ports for more information.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE); + $portData[] = sprintf('%s See https://docs.docker.com/compose/compose-file/compose-file-v3/#ports for more information.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE); foreach ($ports as $port) { $portData[] = $port;