refactor: remove health checks on startup

This commit is contained in:
Michel Jonathan Schmitz
2019-07-25 09:54:09 +02:00
parent 27a48dd168
commit 23f4f2de2f

View File

@@ -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