opensearch config
This commit is contained in:
@@ -41,6 +41,10 @@ services:
|
|||||||
- OPENSEARCH_PASSWORD=
|
- OPENSEARCH_PASSWORD=
|
||||||
- OPENSEARCH_SSL_VERIFICATION=false
|
- OPENSEARCH_SSL_VERIFICATION=false
|
||||||
- OPENSEARCH_TRUST_ALL_CERTS=true
|
- 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}
|
- SEARCH_ENGINE=${SEARCH_ENGINE:-opensearch}
|
||||||
- IMAGE_STORAGE_PATH=/app/images
|
- IMAGE_STORAGE_PATH=/app/images
|
||||||
- APP_PASSWORD=${APP_PASSWORD}
|
- APP_PASSWORD=${APP_PASSWORD}
|
||||||
@@ -49,10 +53,8 @@ services:
|
|||||||
- images_data:/app/images
|
- images_data:/app/images
|
||||||
- library_config:/app/config
|
- library_config:/app/config
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
- postgres
|
||||||
condition: service_started
|
- opensearch
|
||||||
opensearch:
|
|
||||||
condition: service_healthy
|
|
||||||
networks:
|
networks:
|
||||||
- storycove-network
|
- storycove-network
|
||||||
|
|
||||||
@@ -98,11 +100,11 @@ services:
|
|||||||
- storycove-network
|
- storycove-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 5
|
||||||
start_period: 120s
|
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