-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support opensearch setup in docker-compose (#768)
Co-authored-by: Igor Petrov <[email protected]> Co-authored-by: Yevhen Podluzhnyi <[email protected]>
- Loading branch information
1 parent
592e9ba
commit d913ae6
Showing
12 changed files
with
269 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
OPTIMIZE_ELASTICSEARCH_HOST=elasticsearch | ||
OPTIMIZE_ELASTICSEARCH_HTTP_PORT=9200 | ||
ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_CLASSNAME=io.camunda.zeebe.exporter.ElasticsearchExporter | ||
ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_URL=http://elasticsearch:9200 | ||
# default is 1000, see here: https://github.com/camunda/zeebe/blob/main/exporters/elasticsearch-exporter/src/main/java/io/camunda/zeebe/exporter/ElasticsearchExporterConfiguration.java#L259 | ||
ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_BULK_SIZE=1 | ||
CAMUNDA_OPERATE_ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
CAMUNDA_OPERATE_ZEEBEELASTICSEARCH_URL=http://elasticsearch:9200 | ||
CAMUNDA_TASKLIST_ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
CAMUNDA_TASKLIST_ZEEBEELASTICSEARCH_URL=http://elasticsearch:9200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_CLASSNAME=io.camunda.zeebe.exporter.ElasticsearchExporter | ||
ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_URL=http://elasticsearch:9200 | ||
ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_BULK_SIZE=1 | ||
CAMUNDA_OPERATE_ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
CAMUNDA_OPERATE_ZEEBEELASTICSEARCH_URL=http://elasticsearch:9200 | ||
CAMUNDA_TASKLIST_ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
CAMUNDA_TASKLIST_ZEEBEELASTICSEARCH_URL=http://elasticsearch:9200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Optimize | ||
CAMUNDA_OPTIMIZE_OPENSEARCH_HOST=opensearch | ||
CAMUNDA_OPTIMIZE_OPENSEARCH_HTTP_PORT=9200 | ||
CAMUNDA_OPTIMIZE_DATABASE=opensearch | ||
|
||
# Zeebe | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_CLASSNAME=io.camunda.zeebe.exporter.opensearch.OpensearchExporter | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_ARGS_URL=http://opensearch:9200 | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_ARGS_BULK_SIZE=1 | ||
|
||
# Operate | ||
CAMUNDA_OPERATE_DATABASE=opensearch | ||
CAMUNDA_OPERATE_OPENSEARCH_URL=http://opensearch:9200 | ||
CAMUNDA_OPERATE_ZEEBEOPENSEARCH_URL=http://opensearch:9200 | ||
|
||
# Tasklist | ||
CAMUNDA_TASKLIST_OPENSEARCH_URL=http://opensearch:9200 | ||
CAMUNDA_TASKLIST_ZEEBEEOPENSEARCH_URL=http://opensearch:9200 | ||
camunda.tasklist.database=opensearch | ||
camunda.tasklist.opensearch.url=http://opensearch:9200 | ||
camunda.tasklist.zeebeOpensearch.url=http://opensearch:9200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CAMUNDA_OPERATE_DATABASE=opensearch | ||
CAMUNDA_OPERATE_OPENSEARCH_URL=http://opensearch:9200 | ||
CAMUNDA_OPERATE_ZEEBEOPENSEARCH_URL=http://opensearch:9200 | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_CLASSNAME=io.camunda.zeebe.exporter.opensearch.OpensearchExporter | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_ARGS_INDEX_DEPLOYMENT=false | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_ARGS_URL=http://opensearch:9200 | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_ARGS_BULK_SIZE=1 | ||
ZEEBE_BROKER_EXPORTERS_OPENSEARCH_ARGS_INDEX_PROCESSMESSAGESUBSCRIPTION=true | ||
camunda.tasklist.opensearch.url=http://opensearch:9200 | ||
camunda.tasklist.zeebeOpensearch.url=http://opensearch:9200 | ||
camunda.tasklist.database=opensearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Test docker-compose-core.opensearch.yaml" | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
jobs: | ||
test_core: | ||
uses: ./.github/workflows/template-deploy.yaml | ||
secrets: inherit | ||
with: | ||
compose_args: "-f docker-compose-core.yaml --profile opensearch" | ||
run_e2e_tests: false | ||
search_db: opensearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Test docker-compose.opensearch.yaml" | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
jobs: | ||
test_docker_compose_yaml: | ||
uses: ./.github/workflows/template-deploy.yaml | ||
secrets: inherit | ||
with: | ||
compose_args: "-f docker-compose.yaml --profile opensearch" | ||
run_e2e_tests: false | ||
search_db: opensearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Test docker-compose-web-modeler.yaml with OpenSearch" | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
jobs: | ||
test_modeler_yaml: | ||
uses: ./.github/workflows/template-deploy.yaml | ||
secrets: inherit | ||
with: | ||
compose_args: "-f docker-compose.yaml -f docker-compose-web-modeler.yaml --profile opensearch" | ||
run_e2e_tests: true | ||
search_db: opensearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.