adjustment
This commit is contained in:
@@ -49,8 +49,10 @@ services:
|
|||||||
- images_data:/app/images
|
- images_data:/app/images
|
||||||
- library_config:/app/config
|
- library_config:/app/config
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
postgres:
|
||||||
- opensearch
|
condition: service_started
|
||||||
|
opensearch:
|
||||||
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- storycove-network
|
- storycove-network
|
||||||
|
|
||||||
@@ -92,6 +94,12 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- storycove-network
|
- storycove-network
|
||||||
restart: unless-stopped
|
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:
|
opensearch-dashboards:
|
||||||
image: opensearchproject/opensearch-dashboards:3.2.0
|
image: opensearchproject/opensearch-dashboards:3.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user