Giter Club home page Giter Club logo

docker-elasticsearch-neos's Introduction

ElasticSearch 2 for Neos Package "Flowpack.ElasticSearch.ContentRepositoryAdaptor"

What is it?

This image provides a ElasticSearch instance (Version 2) preconfigured for the Neos Package Flowpack.ElasticSearch.ContentRepository

Getting started

  1. Install all required Packages in Neos. See documentation here

  2. Start a container using this image:

    docker run --name neos-elasticsearch -p 9200:9200 -p 9300:9300 nikdro/elasticsearch-neos #foreground
    docker run -d --name neos-elasticsearch -p 9200:9200 -p 9300:9300 nikdro/elasticsearch-neos #detached
    
  3. Add configuration to Neos (if docker isn't running on localhost)

    Configuration/Settings.yaml:

    Flowpack:
      ElasticSearch:
        clients:
          default:
            - host: 1.2.3.4 #Ip of your Docker-Host
              port: 9200 #Selected port (if not default)
              username: ''
              password: ''
    
  4. Create index

    ./flow nodeindex:build #all workspaces
    ./flow nodeindex:build --workspace live #only "live" workspace
    
  5. Be HAPPY! :-)


##Advanced Setup

###Make ElasticSearch accessible form other hosts If you are running docker on another Host than Neos, you can make it accessible to other hosts. Just add 0.0.0.0 to host port:

docker run -d --name neos-elasticsearch -p 0.0.0.0:9200:9200 -p 0.0.0.0:9301:9300 nikdro/elasticsearch-neos

Please note step 3 of Getting started to configure Neos...

###Save indexes to host For productive systems, it can be very helpful to store the files of ElasticSearch on the host-system. This allows a new container to use the existing index and you don't have to rebuild any index after creating a new container.

Just add a volume to your start-command:

docker run --name neos-elasticsearch -p 9200:9200 -p 9300:9300 -v ./es-data:/usr/share/elasticsearch/data nikdro/elasticsearch-neos

##Questions? Need Help? There is a channel for questions Slack for questions about (Elastic)Search at Neos' Slack: http://slack.neos.io/

###Maintainer Niklas Droste (nikdro)

docker-elasticsearch-neos's People

Contributors

nikdro avatar

Watchers

 avatar  avatar  avatar

Forkers

soluno

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.