feat(docker): add docker-compose configuration for OpenSearch #7510
+111
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changed?
Added a new
docker-compose-opensearch.ymlfile that provides a complete deployment configuration for running Cadence with OpenSearch as the advanced visibility store. This mirrors the existing Elasticsearch docker-compose setups but uses OpenSearch 2.13.0.The configuration includes:
ES_VERSION=os2Why?
OpenSearch is a popular open-source fork of Elasticsearch that many organizations are adopting. Cadence already supports OpenSearch through the
ES_VERSION=os2configuration, but there was no ready-to-use docker-compose file for users who want to quickly deploy Cadence with OpenSearch for local development or testing.This addition:
How did you test it?
Tested locally using Docker Desktop:
docker-compose -f docker/docker-compose-opensearch.yml upPotential risks
None. This is a new docker-compose configuration file that doesn't modify any existing code or configurations. Users must explicitly choose to use this file, so there's no impact on existing deployments or workflows.
Release notes
New Feature: Added
docker-compose-opensearch.ymlfor deploying Cadence with OpenSearch 2.13.0 as the advanced visibility store. This provides users with an easy-to-use deployment option for testing and developing with OpenSearch.Documentation Changes
May want to update the setup documentation at https://cadenceworkflow.io/docs/operation-guide/setup/ to mention the new OpenSearch docker-compose option alongside the existing Elasticsearch options. I can open a follow-up PR in the cadence-docs repo once this is merged.