File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 3333 - 9200:9200
3434
3535 opensearch_2_12 :
36- image : opensearchproject/opensearch:2.12.0 # Your upgrade target
36+ image : opensearchproject/opensearch:2.12.0
3737 env :
3838 cluster.name : stac-cluster
3939 node.name : os01
@@ -42,22 +42,21 @@ jobs:
4242 discovery.type : single-node
4343 http.port : 9202
4444 http.cors.enabled : true
45- # Fully disable security plugin and its SSL
46- DISABLE_SECURITY_PLUGIN : true # New: Explicitly skips security init
47- DISABLE_INSTALL_DEMO_CONFIG : true # New: Skips demo certs/password setup
45+ DISABLE_SECURITY_PLUGIN : true
46+ DISABLE_INSTALL_DEMO_CONFIG : true
4847 plugins.security.disabled : true
49- plugins.security.ssl.http.enabled : false # Fix: Disable HTTP SSL
48+ plugins.security.ssl.http.enabled : false
5049 OPENSEARCH_JAVA_OPTS : -Xms512m -Xmx512m
5150 action.destructive_requires_name : false
5251 ports :
5352 - 9202:9202
54- # Optional: Add healthcheck for reliable startup (see below)
53+
5554 healthcheck :
56- test : ["CMD-SHELL", "curl -f http://localhost:9202 || exit 1"] # Plain HTTP test
55+ test : ["CMD-SHELL", "curl -f http://localhost:9202 || exit 1"]
5756 interval : 10s
5857 timeout : 5s
5958 retries : 10
60- start-period : 30s # Gives 30s grace for JVM boot
59+ start-period : 30s
6160
6261 strategy :
6362 matrix :
You can’t perform that action at this time.
0 commit comments