diff --git a/config/settings/base.py b/config/settings/base.py index 15690e15..45097ab5 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -102,10 +102,6 @@ "http://sciencediscoveryengine.nasa.gov", "https://localhost:4200", "http://localhost:4200", - "https://sde-lrm.nasa-impact.net/app/nasa-sba-tdamm/", - "https://sde-lrm.nasa-impact.net/app/nasa-sba-smd/", - "http://sde-lrm.nasa-impact.net/app/nasa-sba-tdamm/", - "http://sde-lrm.nasa-impact.net/app/nasa-sba-smd/", ] # MIGRATIONS diff --git a/config/settings/local.py b/config/settings/local.py index ad12063c..c7b8416a 100644 --- a/config/settings/local.py +++ b/config/settings/local.py @@ -52,6 +52,11 @@ # https://docs.celeryq.dev/en/stable/userguide/configuration.html#task-eager-propagates CELERY_TASK_EAGER_PROPAGATES = True + +# Inference API +# ------------------------------------------------------------------------------ +INFERENCE_API_URL = env("INFERENCE_API_URL", default="http://host.docker.internal:8000") + # Your stuff... # ------------------------------------------------------------------------------ diff --git a/config/settings/production.py b/config/settings/production.py index 270aa00c..da68f0ec 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -166,6 +166,9 @@ traces_sample_rate=env.float("SENTRY_TRACES_SAMPLE_RATE", default=0.0), ) +# Inference API +# ------------------------------------------------------------------------------ +INFERENCE_API_URL = env("INFERENCE_API_URL", default="http://172.17.0.1:8000") # Your stuff... # ------------------------------------------------------------------------------