From 95c124a80a56923decb716acbcf7591172cf79cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 16 Sep 2023 22:44:07 +0200 Subject: [PATCH] fixup! update docker-compose --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b554633..ede07d4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,9 +28,12 @@ services: MYSQL_USER: 'mapguesser' MYSQL_PASSWORD: 'mapguesser' healthcheck: - test: ["CMD", 'mysqladmin', 'ping', '-h', 'localhost', '-u', '$$MYSQL_USER', '-p$$MYSQL_PASSWORD' ] + test: ["CMD-SHELL", "mysqladmin -u $$MYSQL_USER -p$$MYSQL_PASSWORD ping -h localhost || exit 1"] + start_period: 5s + start_interval: 1s + interval: 5s timeout: 5s - retries: 10 + retries: 5 adminer: image: adminer:4.8.1-standalone ports: