From fed1c11287f66c688c7a006f43ed44f12e2f8ba6 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Tue, 28 Jan 2025 01:19:50 +0100 Subject: [PATCH] feat(mysql): mysqladmin ping to socket file --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 24a05b1..2c06c39 100644 --- a/compose.yaml +++ b/compose.yaml @@ -45,7 +45,7 @@ services: image: "mysql:${MYSQL_VERSION}" container_name: "snipeit-mysql-${CONTEXT}" healthcheck: - test: ["CMD", "mysqladmin" ,"ping", "--protocol", "tcp", "-h", "127.0.0.1"] + test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] interval: 3s timeout: 1s retries: 20