Skip to content

Commit

Permalink
Update MariaDB Healthcheck Command (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1383n authored Jul 5, 2024
1 parent 4f80da8 commit f5a9699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/mariadb10.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ mariadb:
networks:
- sail
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-p${DB_PASSWORD}"]
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
retries: 3
timeout: 5s
2 changes: 1 addition & 1 deletion stubs/mariadb11.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ mariadb:
networks:
- sail
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-p${DB_PASSWORD}"]
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
retries: 3
timeout: 5s

0 comments on commit f5a9699

Please sign in to comment.