Random failures of database containers

I have a 2 containers a fastapi and a postgres database container. With every redeployment of my fastapi I get failures for this and the only way I have been able to resolve it is redeploy the database container.
No description
5 Replies
Percy
Percy6mo ago
Project ID: 371ef32f-f6db-4175-afe3-18ae89b503c8
khabubuphathu
khabubuphathu6mo ago
371ef32f-f6db-4175-afe3-18ae89b503c8
Brody
Brody6mo ago
please try prefixing your start command with sleep 3 &&
khabubuphathu
khabubuphathu6mo ago
Ohh, thanks that helped.
Brody
Brody6mo ago
awesome