mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
refactor: remove health checks on startup
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: '2.1'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: registry.gitlab.com/openstapps/database:master
|
image: registry.gitlab.com/openstapps/database:master
|
||||||
@@ -7,11 +7,6 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- "9200"
|
- "9200"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "nc", "-zv", "localhost", "9200"]
|
|
||||||
interval: 5s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 20
|
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: registry.gitlab.com/openstapps/backend/default:master
|
image: registry.gitlab.com/openstapps/backend/default:master
|
||||||
@@ -30,8 +25,7 @@ services:
|
|||||||
- stapps.version=1.0.0
|
- stapps.version=1.0.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
- database
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
image: registry.gitlab.com/openstapps/api/copy:v0.0.3
|
image: registry.gitlab.com/openstapps/api/copy:v0.0.3
|
||||||
|
|||||||
Reference in New Issue
Block a user