aboutcode-org / aboutcode-org/vulnerablecode
Implement proper postgres health check in Dockerfile
Aberta
dev-env
- Linguagem predominante
- Python
- Estrelas
- 702
- Forks
- 328
- Merge médio
- 3d 8h
- PRs com merge (30d)
- 3
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.