Skip to content

Commit

Permalink
Updated elasticsearch params
Browse files Browse the repository at this point in the history
  • Loading branch information
michellebeard committed Dec 14, 2017
1 parent fb042d2 commit f44a88c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions distill/config/elasticsearch.py
Expand Up @@ -13,8 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

host = [os.getenv('ELASTICSEARCH_URL', 'localhost')]

ELASTICSEARCH_PARAMS = {
'host': ['elasticsearch1'],
'host': host,
'port': 9200,
'http_auth': None,
'use_ssl': False,
Expand All @@ -23,4 +27,4 @@
'client_cert': None,
'client_key': None,
'timeout': 3
}
}

0 comments on commit f44a88c

Please sign in to comment.