adjustment
This commit is contained in:
@@ -49,8 +49,10 @@ services:
|
||||
- images_data:/app/images
|
||||
- library_config:/app/config
|
||||
depends_on:
|
||||
- postgres
|
||||
- opensearch
|
||||
postgres:
|
||||
condition: service_started
|
||||
opensearch:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- storycove-network
|
||||
|
||||
@@ -92,6 +94,12 @@ services:
|
||||
networks:
|
||||
- storycove-network
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 60s
|
||||
|
||||
opensearch-dashboards:
|
||||
image: opensearchproject/opensearch-dashboards:3.2.0
|
||||
|
||||
Reference in New Issue
Block a user