aboutcode-org / aboutcode-org/vulnerablecode
Implement proper postgres health check in Dockerfile
Đang mở
dev-env
- Ngôn ngữ chính
- Python
- Star
- 702
- Fork
- 328
- Merge trung bình
- 3 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.