Code Monkey home page Code Monkey logo

elasticsearch's Introduction

Elasticsearch Docker Container Image

Build Status Docker Pulls Docker Stars

Docker Images

❗For better reliability we release images with stability tags (wodby/elasticsearch:7-X.X.X) which correspond to git tags. We strongly recommend using images only with stability tags.

Overview:

Supported tags and respective Dockerfile links:

Environment Variables

Variable Default Value Description
ES_BOOTSTRAP_MEMORY_LOCK true
ES_CLUSTER_NAME elasticsearch-default
ES_DISCOVERY_ZEN_MINIMUM_MASTER_NODES 1 6.x only
ES_HTTP_CORS_ALLOW_ORIGIN *
ES_HTTP_CORS_ENABLED true
ES_HTTP_ENABLED true 6.x only
ES_JAVA_OPTS -Xms1g -Xmx1g
ES_NETWORK_HOST 0.0.0.0
ES_NODE_DATA true
ES_NODE_INGEST true
ES_NODE_MASTER true
ES_NODE_MAX_LOCAL_STORAGE_NODES 1
ES_PLUGINS_INSTALL Install specified plugins (separated by comma)
ES_SHARD_ALLOCATION_AWARENESS_ATTR_FILEPATH
ES_SHARD_ALLOCATION_AWARENESS_ATTR
ES_TRANSPORT_HOST localhost

Orchestration Actions

Usage:

make COMMAND [params ...]
 
commands:
    check-ready [host max_try wait_seconds delay_seconds]
 
default params values:
    host localhost
    max_try 1
    wait_seconds 1
    delay_seconds 0

Deployment

Deploy Elasticsearch with Kibana to your own server via Wodby Wodby.

elasticsearch's People

Contributors

csandanov avatar wodbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elasticsearch's Issues

Plugins should be removed before installed

Its a part of #1

If you have any plugins defined in ES_PLUGINS_INSTALL it will be installed at first but subsequent image stop/start will cause errors like this:

elasticsearch_1  | -> Downloading pl.allegro.tech.elasticsearch.plugin:elasticsearch-analysis-morfologik:6.8.0 from maven central
elasticsearch_1  | Warning: sha512 not found, falling back to sha1. This behavior is deprecated and will be removed in a future release. Please update the plugin to use a sha512 checksum.
elasticsearch_1  | ERROR: plugin directory [/usr/share/elasticsearch/plugins/analysis-morfologik] already exists; if you need to update the plugin, uninstall it first using command 'remove analysis-morfologik'
mybazecom_elasticsearch_1 exited with code 1

We should attempt to remove plugin first as described here: https://www.elastic.co/guide/en/elasticsearch/plugins/current/listing-removing-updating.html

sudo bin/elasticsearch-plugin remove [pluginname]
sudo bin/elasticsearch-plugin install [pluginname]

Use case:
ES_PLUGINS_INSTALL: pl.allegro.tech.elasticsearch.plugin:elasticsearch-analysis-morfologik:6.8.0,analysis-icu

Disable xpack.ml

How can I disable xpack machine learning?

I've seen various threads related to different versions including X Pack by default and various docker-compose settings to disable it, but everything I've tried has failed. Every time I start this image from docker-compose the logs show xpack.ml starting.

My machine doesn't have the SSE extensions to run it so I need to just switch it off.

Thanks for any guidance you can give.

ES_PLUGINS_INSTALL is not working

Setting ES_PLUGINS_INSTALLS as per doc: module1,module2 causes error (nothing is installed. Single module installs just fine. Im not a shell expert but my bet the issue is there.

Doesn't work with Apple M1

elasticsearch | runtime: failed to create new OS thread (have 2 already; errno=22)
elasticsearch | fatal error: newosproc
elasticsearch |
elasticsearch | runtime stack:
elasticsearch | runtime.throw(0x6249a0, 0x9)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/panic.go:530 +0x90
elasticsearch | runtime.newosproc(0xc820028000, 0xc820037fc0)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/os1_linux.go:149 +0x18c
elasticsearch | runtime.newm(0x676240, 0x0)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:1513 +0x135
elasticsearch | runtime.main.func1()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:125 +0x2c
elasticsearch | runtime.systemstack(0x732c00)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/asm_amd64.s:291 +0x79
elasticsearch | runtime.mstart()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:1048
elasticsearch |
elasticsearch | goroutine 1 [running]:
elasticsearch | runtime.systemstack_switch()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/asm_amd64.s:245 fp=0xc820022770 sp=0xc820022768
elasticsearch | runtime.main()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:126 +0x62 fp=0xc8200227c0 sp=0xc820022770
elasticsearch | runtime.goexit()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200227c8 sp=0xc8200227c0
elasticsearch | runtime: failed to create new OS thread (have 2 already; errno=22)
elasticsearch | fatal error: newosproc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.