wallabag / docker

Official docker-composer for wallabag.
572 stars 150 forks source link

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

Open jeff47 opened 9 months ago

jeff47 commented 9 months ago

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: https://github.com/MariaDB/mariadb-docker/issues/512#issuecomment-1608976749

lumper5 commented 5 months ago

The new format fixed the UNHEALTHY tag for me.

j0k3r commented 5 months ago

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