baseimage-tutorial-framework/lib/config/envvars.py

12 lines
392 B
Python
Raw Normal View History

2017-11-27 17:41:57 +00:00
import os
PUBLISHER_PORT = os.getenv('PUBLISHER_PORT', 7654)
RECEIVER_PORT = os.getenv('RECEIVER_PORT', 8765)
2018-01-10 15:52:03 +00:00
WEB_PORT = os.getenv('TFW_WEB_PORT', 4242)
2018-01-10 15:31:36 +00:00
SUPERVISOR_HTTP_PORT = os.getenv('TFW_SUPERVISOR_PORT', 9001)
LOGIN_APP_PORT= os.getenv('TFW_LOGIN_APP_PORT', 6666)
2018-01-10 15:31:36 +00:00
SUPERVISOR_HTTP_URI = 'http://localhost:{}'.format(SUPERVISOR_HTTP_PORT)
LOGIN_APP_DIR = os.getenv('TFW_LOGIN_APP_DIR')