Skip to content

Commit

Permalink
Less yank mariadb healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Donkie committed May 21, 2023
1 parent 5e75d6d commit adda3e6
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tests_integration/docker-compose-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ services:
- MARIADB_RANDOM_ROOT_PASSWORD=yes
- MARIADB_PASSWORD=abc
- MARIADB_DATABASE=spoolman
- MARIADB_MYSQL_LOCALHOST_USER=true
healthcheck:
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ]
test:
[
"CMD",
"/usr/local/bin/healthcheck.sh",
"--su-mysql",
"--connect",
"--innodb_initialized"
]
interval: 1s
timeout: 20s
retries: 10
timeout: 5s
retries: 30
spoolman:
image: donkie/spoolman:test
environment:
Expand Down

0 comments on commit adda3e6

Please sign in to comment.