Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSearch version of composes #94

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ services:
- 6379:6379
opencti-dev-elasticsearch:
container_name: opencti-dev-elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0
image: opensearchproject/opensearch:2.8.0
environment:
- discovery.type=single-node
- xpack.ml.enabled=false
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms8G -Xmx8G"
- plugins.security.disabled=true
- "OPENSEARCH_JAVA_OPTS=-Xms8G -Xmx8G"
restart: unless-stopped
ulimits:
memlock:
Expand All @@ -27,9 +26,10 @@ services:
- 9300:9300
opencti-dev-kibana:
container_name: opencti-dev-kibana
image: docker.elastic.co/kibana/kibana:8.11.0
image: opensearchproject/opensearch-dashboards:2.8.0
environment:
- ELASTICSEARCH_HOSTS=http://opencti-dev-elasticsearch:9200
- OPENSEARCH_HOSTS=http://opencti-dev-elasticsearch:9200
- DISABLE_SECURITY_DASHBOARDS_PLUGIN=true
restart: unless-stopped
ports:
- 5601:5601
Expand Down
9 changes: 4 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ services:
volumes:
- redisdata:/data
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0
image: opensearchproject/opensearch:2.8.0
volumes:
- esdata:/usr/share/elasticsearch/data
- esdata:/usr/share/opensearch/data
environment:
# Comment-out the line below for a cluster of multiple nodes
- discovery.type=single-node
# Uncomment the line below below for a cluster of multiple nodes
# - cluster.name=docker-cluster
- xpack.ml.enabled=false
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms${ELASTIC_MEMORY_SIZE} -Xmx${ELASTIC_MEMORY_SIZE}"
- plugins.security.disabled=true
- "OPENSEARCH_JAVA_OPTS=-Xms${ELASTIC_MEMORY_SIZE} -Xmx${ELASTIC_MEMORY_SIZE}"
restart: always
ulimits:
memlock:
Expand Down