Skip to content

Commit 320afc1

Browse files
authored
Fix MariaDB health check #28 #30
2 parents f8a59df + b855294 commit 320afc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
MARIADB_USER: database
4040
MARIADB_PASSWORD: database
4141
healthcheck:
42-
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
42+
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--connect"]
4343
timeout: 5s
4444
retries: 100
4545

0 commit comments

Comments
 (0)