Skip to content

Commit

Permalink
Better PORT defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jul 24, 2015
1 parent 74a2e7d commit c29444e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit c29444e

Please sign in to comment.