[bitnami/mariadb-galera] Docker swarm mode connection issue with healthchecks #75531
Labels
mariadb-galera
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/mariadb-galera
What architecture are you using?
None
What steps will reproduce the bug?
When using the Bitnami MariaDB Galera Docker image (bitnami/mariadb-galera:11.5.2) with the docker-compose.yml configuration below, I encounter connection issues when health checks are enabled for database2 and database3. The containers fail to start, and the logs show repeated Connection refused errors:
However, if I remove the health checks from database2 and database3, the containers start without any issues. Additionally, even when the cluster is running, I see warnings in the logs of database1:
This is my docker-stack.yml:
What am I doing wrong?
What is the expected behavior?
That the container healthcheck works
What do you see instead?
Connection refused errors - but sometimes if quorum is reached it startup but it is very hard.
The text was updated successfully, but these errors were encountered: