allow setting the ES_PORT

This commit is contained in:
Spencer Alger
2015-01-10 11:19:03 -07:00
parent 25e3fb25bc
commit 2329544ee6
2 changed files with 17 additions and 14 deletions

View File

@ -6,7 +6,7 @@ var defaults = {
clusterName: 'yaml-test-runner',
dataPath: '/tmp/yaml-test-runner',
host: 'localhost',
port: '9400'
port: process.env.ES_PORT || '9400'
};
if (process.browser) {