From 57414e8ad54a841727b61b19a791e77a9cf3b0d7 Mon Sep 17 00:00:00 2001 From: Edwin Eames Date: Mon, 3 Nov 2025 20:55:13 -0500 Subject: [PATCH] fixes for docker local --- app/main.py | 2 ++ settings_local.py | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 61f6e9e..3ea7572 100644 --- a/app/main.py +++ b/app/main.py @@ -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 diff --git a/settings_local.py b/settings_local.py index a256824..c3e61ea 100644 --- a/settings_local.py +++ b/settings_local.py @@ -31,8 +31,11 @@ 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')