]> git.mxchange.org Git - friendica.git/commitdiff
better healtcheck for mariadb
authorArt4 <art4@wlabs.de>
Sun, 22 Dec 2024 06:38:03 +0000 (06:38 +0000)
committerArt4 <art4@wlabs.de>
Sun, 22 Dec 2024 06:38:16 +0000 (06:38 +0000)
.github/workflows/php.yml

index 3e9705f269ca75d1051daccf220f9fc9fcf6fddd..268650f6d6d1ea0ffa6a4a79b1652fcd530b7c0e 100644 (file)
@@ -24,7 +24,7 @@ jobs:
           MYSQL_USER: test
         ports:
           - 3306/tcp
-        options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
+        options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
 
       redis:
         image: redis