All Projects → khezen → Docker Elasticsearch

khezen / Docker Elasticsearch

Licence: mit
Elasticsearch Docker image including search-guard

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Docker Elasticsearch

Elasticsql
ElasticSQL package converts SQL to ElasticSearch DSL
Stars: ✭ 77 (-14.44%)
Mutual labels:  elasticsearch
Fxshop
基于SpringBoot+SpringCloud微服务的商城项目(demo版 不可用于生产)
Stars: ✭ 82 (-8.89%)
Mutual labels:  elasticsearch
Homer App
HOMER 7.x Front-End and API Server
Stars: ✭ 88 (-2.22%)
Mutual labels:  elasticsearch
Foxylink
An easy way to handle integration tasks in a reliable way and run them on 1C:Enterprise server
Stars: ✭ 77 (-14.44%)
Mutual labels:  elasticsearch
Elasticsearch
Run Elasticsearch in Kubernetes
Stars: ✭ 80 (-11.11%)
Mutual labels:  elasticsearch
Wazuh Documentation
Wazuh - Project documentation
Stars: ✭ 82 (-8.89%)
Mutual labels:  elasticsearch
Aus Search
A collection of Node JS scripts to create an Elasticsearch index of Australian addresses.
Stars: ✭ 76 (-15.56%)
Mutual labels:  elasticsearch
Search Ui
Search UI. Libraries for the fast development of modern, engaging search experiences.
Stars: ✭ 1,294 (+1337.78%)
Mutual labels:  elasticsearch
Sentinl
Kibana Alert & Report App for Elasticsearch
Stars: ✭ 1,233 (+1270%)
Mutual labels:  elasticsearch
Supermarket
设计精良的网上商城系统,包括前端、后端、数据库、负载均衡、数据库缓存、分库分表、读写分离、全文检索、消息队列等,使用SpringCloud框架,基于Java开发。该项目可部署到服务器上,不断完善中……
Stars: ✭ 1,278 (+1320%)
Mutual labels:  elasticsearch
Kibananestedsupportplugin
A plugin for Kibana 5.5 and beyond that adds support for nested field search and aggregation.
Stars: ✭ 78 (-13.33%)
Mutual labels:  elasticsearch
Community
一个仿照牛客网实现的讨论社区,不仅实现了基本的注册,登录,发帖,评论,点赞,回复功能,同时使用前缀树实现敏感词过滤,使用wkhtmltopdf生成长图和pdf,实现网站UV和DAU统计,并将用户头像等信息存于七牛云服务器。
Stars: ✭ 80 (-11.11%)
Mutual labels:  elasticsearch
Malice
VirusTotal Wanna Be - Now with 100% more Hipster
Stars: ✭ 1,253 (+1292.22%)
Mutual labels:  elasticsearch
Thesaurus Of Job Titles
Open Source Thesaurus of Job Titles in US English
Stars: ✭ 77 (-14.44%)
Mutual labels:  elasticsearch
Syliuselasticsearchplugin
Elasticsearch integration for Sylius apps.
Stars: ✭ 88 (-2.22%)
Mutual labels:  elasticsearch
Elasticsearch Analysis Hanlp
HanLP Analysis for Elasticsearch
Stars: ✭ 77 (-14.44%)
Mutual labels:  elasticsearch
Pybbs
更实用的Java开发的社区(论坛),Better use of Java development community (forum)
Stars: ✭ 1,242 (+1280%)
Mutual labels:  elasticsearch
Elastic Scout Driver Plus
Extension for Elastic Scout Driver
Stars: ✭ 90 (+0%)
Mutual labels:  elasticsearch
Zzdj dhcp
一个可以自动同步DHCP租用信息到数据库的微服务
Stars: ✭ 89 (-1.11%)
Mutual labels:  elasticsearch
Dataengineeringproject
Example end to end data engineering project.
Stars: ✭ 82 (-8.89%)
Mutual labels:  elasticsearch

Elasticsearch & Searchguard Docker Image

Supported tags and respective Dockerfile links

What is elasticsearch

Elasticsearch is a distributed, RESTful search and analytics engine capable of solving a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data so you can discover the expected and uncover the unexpected. This image uses search-guard instead of shield to handle trusted users.

How To Use

docker run -d -p 9200:9200 -p 9300:9300 -e ELASTIC_PWD=changeme -e KIBANA_PWD=changeme  khezen/elasticsearch:latest
version: '2'
services:
    elasticsearch:
        image: khezen/elasticsearch:5
        environment:
            ELASTIC_PWD: changeme
            KIBANA_PWD: changeme
        volumes:
            - /data/elasticsearch:/elasticsearch/data
            - /etc/elasticsearch:/elasticsearch/config
        ports:
             - "9200:9200"
             - "9300:9300"
        network_mode: bridge
        restart: always

File Descriptors and MMap

run the following command on your host:

sysctl -w vm.max_map_count=262144

You can set it permanently by modifying vm.max_map_count setting in your /etc/sysctl.conf.

Environment Variables

Miscellaneous

LOG_LEVEL | INFO

Log level from witch elasticsearch echoes logs.

SG_ENTERPRISE_ENABLED | false

If true then searchguard enterprise features are enabled. Keep in mind that you need to obtain a commercial license if you want to run this features in production!

Cluster

CLUSTER_NAME | elasticsearch

ES cluster name.

MINIMUM_MASTER_NODES | 1

This setting tells Elasticsearch to not elect a master unless there are enough master-eligible nodes available. Only then will an election take place. We recommand to set this variable to (number of nodes / 2) + 1

HOSTS | 127.0.0.1, [::1]

List of hosts for node discovery (discovery.zen.ping.unicast.hosts)

Node

NODE_NAME | NODE-1

ES cluster name.

NODE_MASTER | true

Set to true (default) makes it eligible to be elected as the master node, which controls the cluster.

NODE_DATA | true

Data nodes hold data and perform data related operations such as CRUD, search, and aggregations.

NODE_INGEST | true

Ingest nodes are able to apply an ingest pipeline to a document in order to transform and enrich the document before indexing. With a heavy ingest load, it makes sense to use dedicated ingest nodes and to mark the master and data nodes as NODE_INGEST: false.

HTTP_CORS_ENABLE | true

Enable or disable cross-origin resource sharing, i.e. whether a browser on another origin can execute requests against Elasticsearch. Note that if the client does not send a pre-flight request with an Origin header or it does not check the response headers from the server to validate the Access-Control-Allow-Origin response header, then cross-origin security is compromised.

HTTP_CORS_ALLOW_ORIGIN | *

Which origins to allow. Note that * is a valid value but is considered a security risk as your elasticsearch instance is open to cross origin requests from anywhere.

NETWORK_HOST |0.0.0.0

The node will bind to this hostname or IP address and advertise this host to other nodes in the cluster. Accepts an IP address, hostname, a special value, or an array of any combination of these.

Security & Roles

ELASTIC_PWD | changeme

password for built-in user elastic.

KIBANA_PWD | changeme

password for built-in user kibana.

LOGSTASH_PWD | changeme

password for built-in user logstash.

BEATS_PWD | changeme

password for built-in user beats.

CA_PWD | changeme

CA certificate passphrase.

TS_PWD | changeme

Truststore(public keys storage) password.

KS_PWD | changeme

Keystore(private key storage) password.

HTTP_SSL | true

  • If true then https is bound on 9200
  • If false then http is bound on 9200

Configure Elasticsearch

Configuration file is located in /etc/elasticsearch/elasticsearch.yml if you follow the same volume mapping as in the docker-compose example above.

You can find default config there.

You can find help with elasticsearch configuration there.

User Feedback

Issues

If you have any problems with or questions about this image, please ask for help through a GitHub issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].