mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
refactor: remove health checks on startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user