fccn / nau-richie-site-factory

Site factory to build NAU web sites based on https://github.com/openfun/richie
https://www.nau.edu.pt/
GNU Affero General Public License v3.0
0 stars 1 forks source link

Configure dockerflow on NAU Richie for better healthcheck #221

Open igobranco opened 2 months ago

igobranco commented 2 months ago

The dockerflow package is installed on Richie, but it isn't properly configured.

Dockerflow documentation: https://github.com/mozilla-services/python-dockerflow/blob/main/docs/django.rst

Example, configure it like:

DOCKERFLOW_CHECKS = [
  "dockerflow.django.checks.check_redis_connected",
  "dockerflow.django.checks.check_database_connected",
]

Others dockerflow.django.checks.check_migrations_applied

Related to: https://github.com/fccn/nau-richie-site-factory/issues/220

igobranco commented 2 months ago

The NAU Richie doesn't use the normal Redis cache, but another with a fallback. So this won't be possible to implement without removing the fallack.