aboutcode-org / aboutcode-org/vulnerablecode

Implement proper postgres health check in Dockerfile

未关闭
#520 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
dev-env
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
3

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。