Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions examples/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:9.2.2
environment:
cluster.name: 'elasticsearch-cluster'
discovery.type: 'single-node'
xpack.security.enabled: false
ES_JAVA_OPTS: '-Xms512m -Xmx512m'
Expand All @@ -138,17 +139,18 @@ services:
soft: 65536
hard: 65536
healthcheck:
test: [ 'CMD', 'curl', '-f', 'http://127.0.0.1:9200/_cluster/health' ]
interval: 30s
test: [ 'CMD', 'curl', '-f', 'http://127.0.0.1:9200/_cluster/health?wait_for_status=yellow&timeout=50s' ]
interval: 10s
start_period: 120s
timeout: 20s
retries: 3
timeout: 60s
retries: 5
ports:
- '9201:9200'

opensearch:
image: opensearchproject/opensearch
environment:
cluster.name: 'opensearch-cluster'
discovery.type: 'single-node'
bootstrap.memory_lock: true
indices.requests.cache.maximum_cacheable_size: 256
Expand Down
Loading