fixes for docker local
This commit is contained in:
@@ -6,6 +6,8 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
|
||||
mode = os.environ.get('MODE', 'DEVELOPMENT').upper()
|
||||
if mode == 'PRODUCTION':
|
||||
from settings_prod import settings
|
||||
elif mode == 'LOCAL':
|
||||
from settings_local import settings
|
||||
else:
|
||||
from settings_dev import settings
|
||||
|
||||
|
||||
@@ -31,9 +31,12 @@ class ApplicationConfig:
|
||||
"http://192.168.1.204:9613",
|
||||
"http://192.168.1.204:9614",
|
||||
"http://192.168.1.204:9612",
|
||||
"http://192.168.1.204:9616",
|
||||
"http://192.168.1.204:9611",
|
||||
"http://192.168.1.204:9511",
|
||||
]
|
||||
|
||||
|
||||
# VoIP.ms Credentials and Settings
|
||||
voipms_api_username = os.environ.get('VOIPMS_API_USERNAME')
|
||||
voipms_api_password = os.environ.get('VOIPMS_API_PASSWORD')
|
||||
|
||||
Reference in New Issue
Block a user