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

Wallabag/mariadb healthcheck fails: mysqladmin is not included in the official container #381

Open
jeff47 opened this issue Sep 15, 2023 · 2 comments

Comments

@jeff47
Copy link

jeff47 commented Sep 15, 2023

The healthcheck statement in the docker compose example fails, because mysqladmin is not included in the official mariadb container.

https://mariadb.org/mariadb-server-docker-official-images-healthcheck-without-mysqladmin/

I think the new format should be

      healthcheck:
            test: ['CMD', '/usr/local/bin/healthcheck.sh', '--innodb_initialized']
            start_period: 5s
            timeout: 5s
            interval: 5s
            retries: 5

Source: MariaDB/mariadb-docker#512 (comment)

@lumper5
Copy link

lumper5 commented Jan 13, 2024

The new format fixed the UNHEALTHY tag for me.

@j0k3r
Copy link
Member

j0k3r commented Jan 16, 2024

Could you open a PR to fix it then? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants