Skip to content

Commit 2885bfb

Browse files
committed
ref
1 parent 5e308e6 commit 2885bfb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/compose.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,18 @@ services:
131131
bootstrap.memory_lock: true
132132
indices.requests.cache.maximum_cacheable_size: 256
133133
DISABLE_SECURITY_PLUGIN: true
134+
OPENSEARCH_JAVA_OPTS: '-Xms512m -Xmx512m'
134135
ulimits:
135136
memlock:
136137
soft: -1
137138
hard: -1
139+
nofile:
140+
soft: 65536
141+
hard: 65536
138142
healthcheck:
139-
test: [ 'CMD', 'curl', "-f", "http://127.0.0.1:9200/_cluster/health" ]
143+
test: [ 'CMD', 'curl', "-f", "http://127.0.0.1:9200" ]
140144
interval: 30s
141-
start_period: 90s
142-
timeout: 20s
143-
retries: 3
145+
retries: 5
144146
ports:
145147
- '9200:9200'
146148
- '9600:9600'

0 commit comments

Comments
 (0)