From c29444e1a74c104846309a1ffccdf0fb0b196410 Mon Sep 17 00:00:00 2001 From: Maxime Date: Fri, 24 Jul 2015 06:28:53 +0000 Subject: [PATCH] Better PORT defaults --- config.py | 6 ++++-- run.py | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 72af1a5586b13..233c9fcdd15ce 100644 --- a/config.py +++ b/config.py @@ -15,12 +15,14 @@ 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 diff --git a/run.py b/run.py index 2218f48247684..3c2d0e5fcc711 100644 --- a/run.py +++ b/run.py @@ -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)