Skip to content

praveenram/openshift-elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

openshift-elasticsearch

This is a DIY cartridge for setting up ElasticSearch (currently 0.90.7) on Openshift, behind an Nginx proxy with basic auth. It also sets up Elastic Head (admin UI).

###Getting Started

####Setup rhc rhc setup

####Setup a new Teamcity application rhc app create diy-0.1 --from-code=git://github.com/sriv/openshift-elasticsearch.git -e SEARCH_USERNAME= -e SEARCH_PASSWORD=

Here,

  • <instance> is the name of the application that you'd like
  • <username> and <password> are the credentials that you'd like to setup.

For example, say

openshift namespace = foo <instance> = bar

The url then looks like http://bar-foo.rhcloud.com.

Elastic Head is available at http://bar-foo.rhcloud.com/_plugin/head/

###Authentication on NGinx

This cartridge sets up an Nginx instance, with elasticsearch bound as one upstream. It uses basic auth for this. The username and password are setup using htpasswd

Bitdeli Badge

About

OpenShift application deploying elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%