Skip to content

Commit 14652bf

Browse files
phansysfranmomu
authored andcommitted
Allow "php" container to send SIGINT signal to the foreground processes
1 parent 5502bae commit 14652bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

compose.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ services:
1313
MONGODB_SERVER: 'mongodb://mongodb:27017'
1414
tty: true
1515
stdin_open: true
16+
init: true
1617

1718
mysql:
1819
image: mysql:8.0
20+
healthcheck:
21+
test: ['CMD', 'mysql', '-h', 'mysql', '--user=root', '--password=${MYSQL_ROOT_PASSWORD}', '-e', 'status']
22+
interval: 10s
23+
timeout: 2s
24+
retries: 5
1925
environment:
2026
MYSQL_ROOT_PASSWORD: de_root_password
2127
MYSQL_DATABASE: de_testing

0 commit comments

Comments
 (0)