Skip to content

Commit cf8d125

Browse files
committed
Updated settings
1 parent 1183330 commit cf8d125

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

config/settings/base.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@
102102
"http://sciencediscoveryengine.nasa.gov",
103103
"https://localhost:4200",
104104
"http://localhost:4200",
105-
"https://sde-lrm.nasa-impact.net/app/nasa-sba-tdamm/",
106-
"https://sde-lrm.nasa-impact.net/app/nasa-sba-smd/",
107-
"http://sde-lrm.nasa-impact.net/app/nasa-sba-tdamm/",
108-
"http://sde-lrm.nasa-impact.net/app/nasa-sba-smd/",
109105
]
110106

111107
# MIGRATIONS
@@ -353,5 +349,4 @@
353349
LRM_QA_PASSWORD = env("LRM_QA_PASSWORD")
354350
LRM_DEV_TOKEN = env("LRM_DEV_TOKEN")
355351
XLI_TOKEN = env("XLI_TOKEN")
356-
INFERENCE_API_URL = env("INFERENCE_API_URL", default="http://host.docker.internal:8000")
357352
TDAMM_CLASSIFICATION_THRESHOLD = env("TDAMM_CLASSIFICATION_THRESHOLD", default="0.5")

config/settings/local.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@
5252

5353
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#task-eager-propagates
5454
CELERY_TASK_EAGER_PROPAGATES = True
55+
56+
# Inference API
57+
# ------------------------------------------------------------------------------
58+
INFERENCE_API_URL = env("INFERENCE_API_URL", default="http://host.docker.internal:8000")
59+
5560
# Your stuff...
5661
# ------------------------------------------------------------------------------
5762

config/settings/production.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@
166166
traces_sample_rate=env.float("SENTRY_TRACES_SAMPLE_RATE", default=0.0),
167167
)
168168

169+
# Inference API
170+
# ------------------------------------------------------------------------------
171+
INFERENCE_API_URL = env("INFERENCE_API_URL", default="http://172.17.0.1:8000")
169172

170173
# Your stuff...
171174
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)