Skip to content

Commit

Permalink
Photosearch:Part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep committed Mar 5, 2016
1 parent 4734ad6 commit 8a6e5fb
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
node_modules/
DISPLAY/
tags.txt
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# photosearch
Building a highly performant photosearch with Elasticsearch, Docker, and AngularJS

Read more about this project on my [blog](http://blog.sandeepchivukula.com)

Licensing information in the LICENSE file
8 changes: 8 additions & 0 deletions data/elasticsearch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
network.host: 0.0.0.0

# This is only for Testing with your localhost
# Get rid of it before shipping to production!
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#Building a photosearch with Elastic Search
#Read more at: http://blog.sandeepchivukula.com/

elasticsearch-1:
image: elasticsearch
container_name: elasticsearch-1
ports:
- "9200:9200"
- "9300:9300"
volumes:
- ./data/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
command: elasticsearch

kibana-frontend:
image: kibana:latest
container_name: kibana-frontend
ports:
- "5601:5601"
links:
- elasticsearch-1:elasticsearch

0 comments on commit 8a6e5fb

Please sign in to comment.