Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose: mariadb -> service_healthy #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions docker-compose.test-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ services:
- TWD_HOST=selenium
- TWD_PORT=4444
depends_on:
- bugzilla6.mariadb106
- memcached
- selenium
memcached:
condition: service_started
selenium:
condition: service_started
bugzilla6.mariadb106:
condition: service_healthy

bugzilla6.mariadb106:
image: mariadb:10.6
Expand All @@ -56,7 +59,12 @@ services:
- MARIADB_ROOT_PASSWORD=bugs
- MARIADB_USER=bugs
- MARIADB_PASSWORD=bugs
- MARIADB_ALLOW_EMPTY_PASSWORD=1
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3

memcached:
image: memcached:latest
Expand Down
Loading