Skip to content

Commit

Permalink
Enabled init: true in docker compose to have better signal handling
Browse files Browse the repository at this point in the history
now, a CTRL+C really stop the underlying process
  • Loading branch information
lyrixx committed Sep 16, 2024
1 parent f089b27 commit d7da97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function about(): void
if ("frontend-{$projectName}" === $router['service']) {
continue;
}
if (!preg_match('{^Host\\(`(?P<hosts>.*)`\\)$}', $router['rule'], $matches)) {
if (!preg_match('{^Host\(`(?P<hosts>.*)`\)$}', $router['rule'], $matches)) {
continue;
}
$hosts = explode('`) || Host(`', $matches['hosts']);
Expand Down
1 change: 1 addition & 0 deletions infrastructure/docker/docker-compose.builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
build:
context: services/php
target: builder
init: true
depends_on:
- postgres
environment:
Expand Down

0 comments on commit d7da97c

Please sign in to comment.