Overview
This repository provides OpenSearch runnables for local dev or small clusters. You can:- Run a single-node OpenSearch + Dashboards quickly
- Inherit the runnable in your stack and wire services via connections
- Scale to a simple two-node demo with dashboards
What’s included
- Runnable
opensearch/single-nodeexposing ports 9200 (HTTP) and 9600 (REST) - Optional OpenSearch Dashboards runnables
- Persistent data volume at
${monk-volume-path}/opensearch - Tunable environment via variables (image, cluster name, security, Java opts)
Quick start (single-node)
Configuration
Key variables inopensearch.yaml:
Inherit and connect from your app
Ports
- 9200/tcp: OpenSearch HTTP
- 9600/tcp: REST API
- 5601/tcp: Dashboards (if enabled)
Persistence
Data is stored at${monk-volume-path}/opensearch:/usr/share/opensearch/data.
Troubleshooting
- If security plugin is enabled, ensure
OPENSEARCH_INITIAL_ADMIN_PASSWORDis set and meets complexity rules. - For multi-node demos, verify
discovery.seed_hostsandcluster.initial_cluster_manager_nodesmatch connection hostnames.