From 6982b9a82e0069be30bb130cc465d7b4acd243c7 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Mon, 11 Jul 2022 11:39:50 -0400 Subject: [PATCH] nginx-aspnet-mysql: remove DB healthcheck from dev envs config Signed-off-by: Milas Bowman --- nginx-aspnet-mysql/.docker/docker-compose.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nginx-aspnet-mysql/.docker/docker-compose.yaml b/nginx-aspnet-mysql/.docker/docker-compose.yaml index b2eb146..51607b8 100644 --- a/nginx-aspnet-mysql/.docker/docker-compose.yaml +++ b/nginx-aspnet-mysql/.docker/docker-compose.yaml @@ -6,9 +6,7 @@ services: restart: always secrets: - db-password - depends_on: - db: - condition: service_healthy + depends_on: ['db'] environment: - ASPNETCORE_URLS=http://+:8000 volumes: @@ -18,11 +16,6 @@ services: image: mariadb:10-focal command: '--default-authentication-plugin=mysql_native_password' restart: always - healthcheck: - test: ['CMD-SHELL', 'mysqladmin ping -h 127.0.0.1 --password="$$(cat /run/secrets/db-password)" --silent'] - interval: 3s - retries: 5 - start_period: 30s secrets: - db-password volumes: