mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
add opensearch
This commit is contained in:
parent
1e2e7e2b8d
commit
c692e9d2ef
@ -394,6 +394,7 @@ A collection of delicious docker recipes.
|
||||
- [x] ohmyform/ui
|
||||
- [x] osixia/openldap
|
||||
- [x] openresty/openresty
|
||||
- [x] opensearchproject/opensearch
|
||||
- [x] kylemanna/openvpn
|
||||
- [x] campbellsoftwaresolutions/osticket
|
||||
- [x] outlinewiki/outline
|
||||
|
8
opensearch/README.md
Normal file
8
opensearch/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
opensearch
|
||||
==========
|
||||
|
||||
[OpenSearch][1] is a community-driven, Apache 2.0-licensed open source search
|
||||
and analytics suite that makes it easy to ingest, search, visualize, and
|
||||
analyze data.
|
||||
|
||||
[1]: https://opensearch.org/
|
64
opensearch/docker-compose.yml
Normal file
64
opensearch/docker-compose.yml
Normal file
@ -0,0 +1,64 @@
|
||||
#
|
||||
# https://opensearch.org/docs/latest/opensearch/install/docker/
|
||||
#
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
opensearch-node1:
|
||||
image: opensearchproject/opensearch:2.0.0
|
||||
container_name: opensearch-node1
|
||||
ports:
|
||||
- "9201:9200"
|
||||
- "9601:9600"
|
||||
volumes:
|
||||
- ./data/node1:/usr/share/opensearch/data
|
||||
environment:
|
||||
- cluster.name=opensearch-cluster
|
||||
- node.name=opensearch-node1
|
||||
- discovery.seed_hosts=opensearch-node1,opensearch-node2
|
||||
- cluster.initial_master_nodes=opensearch-node1,opensearch-node2
|
||||
- bootstrap.memory_lock=true
|
||||
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
restart: unless-stopped
|
||||
|
||||
opensearch-node2:
|
||||
image: opensearchproject/opensearch:2.0.0
|
||||
container_name: opensearch-node2
|
||||
ports:
|
||||
- "9202:9200"
|
||||
- "9602:9600"
|
||||
volumes:
|
||||
- ./data/node2:/usr/share/opensearch/data
|
||||
environment:
|
||||
- cluster.name=opensearch-cluster
|
||||
- node.name=opensearch-node2
|
||||
- discovery.seed_hosts=opensearch-node1,opensearch-node2
|
||||
- cluster.initial_master_nodes=opensearch-node1,opensearch-node2
|
||||
- bootstrap.memory_lock=true
|
||||
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
restart: unless-stopped
|
||||
|
||||
opensearch-dashboards:
|
||||
image: opensearchproject/opensearch-dashboards:2.0.0
|
||||
container_name: opensearch-dashboards
|
||||
ports:
|
||||
- "5601:5601"
|
||||
environment:
|
||||
OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]'
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user