aboutcode-org / aboutcode-org/vulnerablecode
Implement proper postgres health check in Dockerfile
Abierto
dev-env
- Lenguaje dominante
- Python
- Estrellas
- 702
- Forks
- 328
- Merge medio
- 3 d 8 h
- PR fusionados (30 d)
- 3
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.