aboutcode-org / aboutcode-org/vulnerablecode
Implement proper postgres health check in Dockerfile
Ouverte
dev-env
- Langage dominant
- Python
- Étoiles
- 702
- Forks
- 328
- Merge moyen
- 3 j 8 h
- PR mergées (30 j)
- 3
Description
We should have a postgres health check script which uses python
``manage.py check --database default`` which comes with max_retries and
backoffs for `vulnerablecode` container. Currently, docker's `restart:`
option is used but it has a caveat that it'll restart on non-db errors
as well and doesn't provide a helpful message about why the container is restarting.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.