Skip to content

SnowMasaya/Elasticsearch_Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch Docker

Elasticsearch + Japanese + Docker

Elasticsearch + Docker

Description

This is the making tool for the elasticsearch

If you see the detail about it, you see the below

http://qiita.com/GushiSnow/private/6a157beb869319f0993f

Install

Vagrant

https://www.vagrantup.com/

Usage

making enviroment for docker

cd provisioning
ansible-playbook -vvvv -i hosts site.yml

making docker container for elastic search

cd docker
make test-elastic-search

Start the elastic search

[sudo pass : e_pass]

sh elastic_search_setting.sh

Regist documents for elastic search

[sudo pass : e_pass]

sh elastic_regist_search.sh

Code Directory Structure

ELasticsearch and docker container
  - docker/     ... Docker tool
    - conf/     ... setting conf file
    - data/     ... regist test data
    - dockerfiles/     ... Docker file for making enviroments
    - elastic-search-python/  ... python script
    - shell/  ... start the elasticsearch and set the documents for elastisearch
    - template/  ... template file for elastisearch
  - provisioning/       ... Ansible tools

Licence

The MIT License (MIT)

Copyright (c) 2015 Masaya Ogushi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Author

SnowMasaya

References

Docker
Python Slack
Elasticsearch
Python Elasticsearch Client
docker-project-template

About

Docker for Japanese Elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published