Better PORT defaults

This commit is contained in:
Maxime 2015-07-24 06:28:53 +00:00
parent 74a2e7df54
commit c29444e1a7
2 changed files with 6 additions and 3 deletions

View File

@ -15,12 +15,14 @@ There' a ``from local_config import *`` at the end of this file.
ROW_LIMIT = 5000
DRUID_HOST = '0.0.0.0'
DRUID_PORT = 8080
DRUID_PORT = '8084'
DRUID_BASE_ENDPOINT = 'druid/v2'
COORDINATOR_HOST = '0.0.0.0'
COORDINATOR_PORT = '8080'
COORDINATOR_PORT = '8081'
COORDINATOR_BASE_ENDPOINT = 'druid/coordinator/v1'
PANORAMIX_WEBSERVER_PORT = 8088
#---------------------------------------------------------
# Your App secret key

3
run.py
View File

@ -1,4 +1,5 @@
from app import app
import config
app.run(host='0.0.0.0', port=8081, debug=True)
app.run(host='0.0.0.0', port=int(config.PANORAMIX_WEBSERVER_PORT), debug=True)