From e7b757df4b59d0caee2f418b6f6b3b9cf694bf4a Mon Sep 17 00:00:00 2001 From: guzman-raphael Date: Thu, 23 Mar 2023 02:40:46 -0500 Subject: [PATCH] Update compose file. --- docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7591ffe..07b50c5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: "2.4" services: db: + restart: always image: datajoint/mysql:${MYSQL_VER} environment: - MYSQL_ROOT_PASSWORD=${DJ_PASS} @@ -9,6 +10,6 @@ services: - "3306:3306" healthcheck: test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ] - timeout: 30s - retries: 5 + timeout: 15s + retries: 10 interval: 15s \ No newline at end of file