From 23f4f2de2fac23d62e28107244173452f0f6c543 Mon Sep 17 00:00:00 2001 From: Michel Jonathan Schmitz Date: Thu, 25 Jul 2019 09:54:09 +0200 Subject: [PATCH] refactor: remove health checks on startup --- docker-compose.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index de8617ae..d35ee5da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2.1' +version: '3.7' services: database: image: registry.gitlab.com/openstapps/database:master @@ -7,11 +7,6 @@ services: expose: - "9200" restart: unless-stopped - healthcheck: - test: ["CMD", "nc", "-zv", "localhost", "9200"] - interval: 5s - timeout: 10s - retries: 20 backend: image: registry.gitlab.com/openstapps/backend/default:master @@ -30,8 +25,7 @@ services: - stapps.version=1.0.0 restart: unless-stopped depends_on: - database: - condition: service_healthy + - database api: image: registry.gitlab.com/openstapps/api/copy:v0.0.3