Giter VIP home page Giter VIP logo

ddev-elasticsearch's Introduction

tests project is maintained

Installation

Uses elasticsearch official image

ddev get ddev/ddev-elasticsearch

Configuration

From within the container, the elasticsearch container is reached at hostname: "elasticsearch", port: 9200, so the server URL might be http://elasticsearch:9200. You can also use the "ddev.site" http and https urls to access it: http://<projectname>.ddev.site:9200, and https://<projectname>.ddev.site:9201

Connection

You can access the Elasticsearch server directly from the host for debugging purposes by visiting http://<projectname>.ddev.site:9200. Via https you can access Elasticsearch via https://<projectname>.ddev.site:9201

Memory Limit

This configuration limits memory usage to 512mb. This should be enough for most projects, but if your elasticsearch service stops with no obvious reason, increase your docker max memory and/or the service max memory via the ES_JAVA_OPTS variable:

- "ES_JAVA_OPTS=-Xms512m -Xmx512m"` environment variable in `docker-compose.elasticsearch.yaml`

If you change this variable, make sure to remove the #ddev-generated line at the top of the file.

You can use ddev logs -s elasticsearch to investigate what the elasticsearch daemon has been up to, or if you have a RAM-related crash.

Additional Resources

Originally Contributed by dacostafilipe with contributions by @Morgy93, @amitaibu, @aronnovak and others

Maintained by @aronnovak

ddev-elasticsearch's People

Contributors

rfay avatar aronnovak avatar tyler36 avatar

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.