add django-healthcheck and /healthcheck/ endpoint

Change-Id: I900a64495d911bc116a800d6b04bcf237b2d7c45
This commit is contained in:
Matt Bond 2019-10-08 12:18:21 -04:00
parent 034d73a4bd
commit 8d6b063dfc
3 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,8 @@ INSTALLED_APPS = [
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"health_check",
"health_check.db",
"corsheaders",
"rest_framework",
"django_filters",

View File

@ -43,5 +43,6 @@ urlpatterns = [
path("api/", APIIndex.as_view(), name='api-index'),
path("api/v1/", include("ara.api.urls")),
path("admin/", admin.site.urls),
path("healthcheck/", include("health_check.urls")),
]
# fmt: on

View File

@ -37,6 +37,7 @@ server=
djangorestframework>=3.9.1
django-cors-headers
django-filter
django-health-check
dynaconf[yaml]
tzlocal
whitenoise