Go to file
Daniel Black 40afbf64d6
Dockerfile.mariadb - use included healthcheck (#26)
* Dockerfile.mariadb - use included healthcheck

MARIADB_MYSQL_LOCALHOST_USER=1 creates the mysql@localhost user that the healthcheck uses with --su=mysql.

`--innodb_initialized` was chosen as a fairly basic test to ensure that any crash recovery is complete.

* Update Dockerfile.mariadb

with connect so ensure we are running on the final tcp instance rather than any temporary instance.

Using innodb_initialized as well to show of that more than one test is available, and the recovery time of innodb is a aspect that can be forgotten by those that don't frequently do mysql/mariadb admininstration.

* Update mysql/Dockerfile.mariadb

use implicit path

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
2022-03-09 17:45:01 -08:00
cassandra Convert all instances of "exit 2" to simply "exit 1" 2016-11-01 15:48:41 -07:00
docker Add initial Docker-in-Docker healthcheck example 2019-08-05 17:10:57 -07:00
elasticsearch Fix "elasticsearch" example 2018-10-09 15:02:00 -07:00
mongo Convert all instances of "exit 2" to simply "exit 1" 2016-11-01 15:48:41 -07:00
mysql Dockerfile.mariadb - use included healthcheck (#26) 2022-03-09 17:45:01 -08:00
postgres Add Alpine variants of postgres, rabbitmq, and redis 2017-04-10 09:49:24 -07:00
rabbitmq Improve RabbitMQ HEALTHCHECK 2019-01-15 19:16:10 +00:00
redis Add Alpine variants of postgres, rabbitmq, and redis 2017-04-10 09:49:24 -07:00
sonarqube using wget for healthcheck 2020-05-26 20:02:41 +02:00
LICENSE Add initial license (Expat) 2016-05-06 14:50:25 -07:00
README.md Drop healthcheck builds since the images aren't really maintained 2021-06-25 16:11:04 -07:00

README.md

HEALTHCHECK

This is an example set of prototypes for enabling HEALTHCHECK behavior in select official images.

This repository is not actively maintained and only exists as a reference in implementing your own HEALTHCHECK which meets your particular needs more accurately than these generic examples possibly could. Resulting images are not actively built and pushed to a Docker Registry (and the FROM lines are likely even outdated).

See the HEALTHCHECK FAQ entry for the rationale for why these don't get added to the official images directly.