Add healthcheck
This commit is contained in:
parent
db24bb7e0a
commit
c40987c14f
5 changed files with 10 additions and 2 deletions
|
@ -23,6 +23,7 @@ sentry-sdk
|
|||
wagtail-favicon
|
||||
django-sri
|
||||
wagtail-2fa
|
||||
django-health-check
|
||||
|
||||
# Pinned due to lack of Wagtail 3 support
|
||||
git+https://github.com/wagtail/wagtail-autocomplete@03f46a0c256989690d0a43fc21fe0f37f9ede765
|
||||
|
|
|
@ -15,9 +15,10 @@ click==8.1.3 # via rq
|
|||
coreapi==2.3.3 # via drf-yasg
|
||||
coreschema==0.0.4 # via coreapi, drf-yasg
|
||||
deprecated==1.2.13 # via redis
|
||||
django==4.0.6 # via -r requirements/base.in, django-filter, django-htmx, django-modelcluster, django-otp, django-permissionedforms, django-plausible, django-redis, django-rq, django-sri, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail, wagtail-2fa
|
||||
django==4.0.6 # via -r requirements/base.in, django-filter, django-health-check, django-htmx, django-modelcluster, django-otp, django-permissionedforms, django-plausible, django-redis, django-rq, django-sri, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail, wagtail-2fa
|
||||
django-environ==0.9.0 # via -r requirements/base.in
|
||||
django-filter==21.1 # via wagtail
|
||||
django-health-check==3.16.7 # via -r requirements/base.in
|
||||
django-htmx==1.12.1 # via -r requirements/base.in
|
||||
django-modelcluster==6.0 # via wagtail
|
||||
django-otp==1.1.3 # via wagtail-2fa
|
||||
|
|
|
@ -20,11 +20,12 @@ coreschema==0.0.4 # via -r requirements/base.txt, coreapi, drf-yasg
|
|||
coverage==6.4.4 # via -r requirements/dev.in
|
||||
curlylint==0.13.1 # via -r requirements/dev.in
|
||||
deprecated==1.2.13 # via -r requirements/base.txt, redis
|
||||
django==4.0.6 # via -r requirements/base.txt, django-browser-reload, django-debug-toolbar, django-filter, django-htmx, django-modelcluster, django-otp, django-permissionedforms, django-plausible, django-redis, django-rq, django-sri, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail, wagtail-2fa
|
||||
django==4.0.6 # via -r requirements/base.txt, django-browser-reload, django-debug-toolbar, django-filter, django-health-check, django-htmx, django-modelcluster, django-otp, django-permissionedforms, django-plausible, django-redis, django-rq, django-sri, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail, wagtail-2fa
|
||||
django-browser-reload==1.6.0 # via -r requirements/dev.in
|
||||
django-debug-toolbar==3.5.0 # via -r requirements/dev.in
|
||||
django-environ==0.9.0 # via -r requirements/base.txt
|
||||
django-filter==21.1 # via -r requirements/base.txt, wagtail
|
||||
django-health-check==3.16.7 # via -r requirements/base.txt
|
||||
django-htmx==1.12.1 # via -r requirements/base.txt
|
||||
django-modelcluster==6.0 # via -r requirements/base.txt, wagtail
|
||||
django-otp==1.1.3 # via -r requirements/base.txt, wagtail-2fa
|
||||
|
|
|
@ -72,6 +72,10 @@ INSTALLED_APPS = [
|
|||
"wagtail_2fa",
|
||||
"django_otp",
|
||||
"django_otp.plugins.otp_totp",
|
||||
"health_check",
|
||||
"health_check.db",
|
||||
"health_check.cache",
|
||||
"health_check.storage",
|
||||
"django.contrib.auth",
|
||||
"django.contrib.contenttypes",
|
||||
"django.contrib.sessions",
|
||||
|
|
|
@ -41,6 +41,7 @@ urlpatterns = [
|
|||
),
|
||||
path("404/", page_not_found, name="404"),
|
||||
path("feed/", AllPagesFeed(), name="feed"),
|
||||
path(".health/", include("health_check.urls")),
|
||||
path("", include("website.legacy.urls")),
|
||||
path("api/", include("website.api.urls")),
|
||||
path("", include(favicon_urls)),
|
||||
|
|
Loading…
Reference in a new issue