Skip to content

Ramesh7/opensearch-docker-componse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Open### 1. OpenSearch

  • Image: opensearchproject/opensearch:3.1.0
  • Ports: 9200 (REST API), 9600 (Performance Analyzer)
  • Environment:
    • Runs as a single node
    • Security plugin disabled
    • Java heap size: 512MB
    • Initial admin password: gKL-TVxTv3e (not used when security is disabled)
  • Data Persistence: Uses a Docker volume opensearch-data for data storagecker Compose

This project provides a Docker Compose setup for running an OpenSearch stack, including OpenSearch, OpenSearch Dashboards, and Logstash.

Services

1. OpenSearch

  • Image: opensearchproject/opensearch:3.1.0
  • Ports: 9200 (REST API), 9600 (Performance Analyzer)
  • Environment:
    • Runs as a single node
    • Security plugin disabled
    • Java heap size: 512MB
    • Initial admin password: gKL-TVxTv3e
  • Data Persistence: Uses a Docker volume opensearch-data for data storage

2. Logstash

  • Image: opensearchproject/logstash-oss-with-opensearch-output-plugin:latest
  • Ports:
    • 5044: TCP input
    • 5045: HTTP input
    • 9601: Monitoring API
  • Pipeline Config: Mounts logstash.conf from the project directory
  • Depends on: OpenSearch

3. OpenSearch Dashboards

  • Image: opensearchproject/opensearch-dashboards:3.1.0
  • Port: 5601 (Web UI)
  • Environment:
    • Connects to OpenSearch at http://opensearch:9200
    • Security plugin disabled (matches OpenSearch configuration)
  • Depends on: OpenSearch## Usage
  1. Clone this repository

  2. Start the stack:

    docker-compose up -d
  3. Access the services:

  4. Stop the stack:

    docker-compose down

Files

  • docker-compose.yml: Main Docker Compose file
  • logstash.conf: Logstash pipeline configuration

Notes

  • Security is disabled for both OpenSearch and OpenSearch Dashboards (no login required)
  • Data is persisted in the opensearch-data Docker volume
  • All services are connected via the opensearch-net Docker network
  • For production use, enable security and change default credentials

For more information, see the OpenSearch documentation.

About

Deploying the OpenSearch with OpenSearch Dashboard and Logstash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published