Skip to content

Commit 93071eb

Browse files
chore: set specific service_healthy condition on dependency
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 2ee4c32 commit 93071eb

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

docker-compose.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,24 @@ services:
2020
environment:
2121
PHP_IDE_CONFIG: serverName=tests
2222
depends_on:
23-
- postgres
24-
- postgres-mirror
25-
- mariadb
26-
- mariadb-mirror
27-
- mysql
28-
- mysql-mirror
29-
- redis
30-
- redis-mirror
31-
- mongo
23+
postgres:
24+
condition: service_healthy
25+
postgres-mirror:
26+
condition: service_healthy
27+
mariadb:
28+
condition: service_healthy
29+
mariadb-mirror:
30+
condition: service_healthy
31+
mysql:
32+
condition: service_healthy
33+
mysql-mirror:
34+
condition: service_healthy
35+
redis:
36+
condition: service_healthy
37+
redis-mirror:
38+
condition: service_healthy
39+
mongo:
40+
condition: service_healthy
3241

3342
adminer:
3443
image: adminer

0 commit comments

Comments
 (0)