From 722a14ac22be31f0c3926c9df02d2a4906e9fc69 Mon Sep 17 00:00:00 2001 From: Joaquim Magode <135075390+JoaquimMagode@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:36:23 +0530 Subject: [PATCH] update_compoise --- compose.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/compose.yaml b/compose.yaml index a1c7803..f75ca90 100644 --- a/compose.yaml +++ b/compose.yaml @@ -136,17 +136,19 @@ services: # ok to hard-code them here. ################################################### mysql: - image: mysql:9.3 + image: mysql:8.0 volumes: - todo-mysql-data:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: secret MYSQL_DATABASE: todos + MYSQL_ROOT_HOST: '%' healthcheck: - test: ["CMD", "mysqladmin", "ping", "-h", "localhost"] - interval: 5s - timeout: 5s - retries: 5 + test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-psecret"] + interval: 10s + timeout: 10s + retries: 10 + start_period: 30s ################################################### # Service: phpmyadmin