WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 8a6e5fb

Browse files
committed
Photosearch:Part 1
1 parent 4734ad6 commit 8a6e5fb

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
node_modules/
3+
DISPLAY/
4+
tags.txt

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# photosearch
22
Building a highly performant photosearch with Elasticsearch, Docker, and AngularJS
3+
4+
Read more about this project on my [blog](http://blog.sandeepchivukula.com)
5+
6+
Licensing information in the LICENSE file

data/elasticsearch.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
network.host: 0.0.0.0
2+
3+
# This is only for Testing with your localhost
4+
# Get rid of it before shipping to production!
5+
http.cors.enabled : true
6+
http.cors.allow-origin : "*"
7+
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
8+
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length

docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#Building a photosearch with Elastic Search
2+
#Read more at: http://blog.sandeepchivukula.com/
3+
4+
elasticsearch-1:
5+
image: elasticsearch
6+
container_name: elasticsearch-1
7+
ports:
8+
- "9200:9200"
9+
- "9300:9300"
10+
volumes:
11+
- ./data/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
12+
command: elasticsearch
13+
14+
kibana-frontend:
15+
image: kibana:latest
16+
container_name: kibana-frontend
17+
ports:
18+
- "5601:5601"
19+
links:
20+
- elasticsearch-1:elasticsearch

0 commit comments

Comments
 (0)