Skip to content

Instantly share code, notes, and snippets.

View sachitsac's full-sized avatar
💭
Learning react and AWS CDK

Sachit sachitsac

💭
Learning react and AWS CDK
View GitHub Profile
@sachitsac
sachitsac / opensearch-compose-generate.sh
Created June 14, 2024 16:56 — forked from dtaivpp/opensearch-compose-generate.sh
This is a shell script for setting up a single node cluster for OpenSearch. This is something you can use in local development. It creates a secret password that is random every time.
#!/bin/bash
# 1. To run this script curl it locally:
# curl https://gist.githubusercontent.com/dtaivpp/c587d99a2cab441eba0314534ae87c86/raw -o opensearch-compose-bootstrap.sh
# 2. Change it to be executable:
# chmod +x opensearch-compose-generate.sh
# 3. Run it:
# ./opensearch-compose-generate.sh
#
# This will create:
# - docker-compose.yml file for OpenSearch