From 6134a17eddf33a8a6428d3c35d940934b5286cdb Mon Sep 17 00:00:00 2001 From: alexanderbeletsky Date: Mon, 14 Jul 2014 13:16:48 +0300 Subject: [PATCH] config production --- config/index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 87edbdf..1fe0cc9 100644 --- a/config/index.js +++ b/config/index.js @@ -1,11 +1,15 @@ module.exports = { mongo: { - connection: 'mongodb://localhost:27017/likeastoreproddb' + connection: 'mongodb://likeastore:2758d3726ddab88b951b77b17343c9fe6672bbfe@christian.mongohq.com:10093/likeastoreproddb' }, elastic: { host: { - host: 'http://localhost:9200' + host: 'https://search.likeastore.com', + port: 80, + query: { + access_token: '63882eb552185b755a954c9c3c9deba282b20588' + } }, requestTimeout: 5000 @@ -15,6 +19,7 @@ module.exports = { name: 'items', index: 'items', type: 'item', + query: {user: 'alexander.beletsky@gmail.com'}, mappings: { 'item': { 'properties': {