diff --git a/docker-compose.yml b/docker-compose.yml index 26f1876..0563f7d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,12 @@ services: - MARIADB_USER=${MARIADB_USER} - MARIADB_PASSWORD=${MARIADB_PASSWORD} - MARIADB_DATABASE=${MARIADB_DATABASE} + healthcheck: + test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + start_period: 5s + interval: 3s + timeout: 3s + retries: 3 labels: ### Section Diun - diun.enable=${DIUN_ENABLE}