opensearch config
This commit is contained in:
@@ -41,6 +41,10 @@ services:
|
||||
- OPENSEARCH_PASSWORD=
|
||||
- OPENSEARCH_SSL_VERIFICATION=false
|
||||
- OPENSEARCH_TRUST_ALL_CERTS=true
|
||||
- OPENSEARCH_CONNECTION_TIMEOUT=60000
|
||||
- OPENSEARCH_SOCKET_TIMEOUT=120000
|
||||
- OPENSEARCH_MAX_RETRIES=5
|
||||
- OPENSEARCH_RETRY_ON_FAILURE=true
|
||||
- SEARCH_ENGINE=${SEARCH_ENGINE:-opensearch}
|
||||
- IMAGE_STORAGE_PATH=/app/images
|
||||
- APP_PASSWORD=${APP_PASSWORD}
|
||||
@@ -49,10 +53,8 @@ services:
|
||||
- images_data:/app/images
|
||||
- library_config:/app/config
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_started
|
||||
opensearch:
|
||||
condition: service_healthy
|
||||
- postgres
|
||||
- opensearch
|
||||
networks:
|
||||
- storycove-network
|
||||
|
||||
@@ -98,11 +100,11 @@ services:
|
||||
- storycove-network
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -s http://localhost:9200/_cluster/health?wait_for_status=yellow&timeout=5s || exit 1"]
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:9200 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 120s
|
||||
retries: 5
|
||||
start_period: 60s
|
||||
|
||||
opensearch-dashboards:
|
||||
image: opensearchproject/opensearch-dashboards:3.2.0
|
||||
|
||||
Reference in New Issue
Block a user