diff --git a/.castor/docker.php b/.castor/docker.php index a34880a..6fc34b5 100644 --- a/.castor/docker.php +++ b/.castor/docker.php @@ -49,7 +49,7 @@ function about(): void if ("frontend-{$projectName}" === $router['service']) { continue; } - if (!preg_match('{^Host\\(`(?P.*)`\\)$}', $router['rule'], $matches)) { + if (!preg_match('{^Host\(`(?P.*)`\)$}', $router['rule'], $matches)) { continue; } $hosts = explode('`) || Host(`', $matches['hosts']); diff --git a/infrastructure/docker/docker-compose.builder.yml b/infrastructure/docker/docker-compose.builder.yml index b4f70d9..9cc6b07 100644 --- a/infrastructure/docker/docker-compose.builder.yml +++ b/infrastructure/docker/docker-compose.builder.yml @@ -6,6 +6,7 @@ services: build: context: services/php target: builder + init: true depends_on: - postgres environment: