eikek / sharry

Sharry is a self-hosted file sharing web application.
https://eikek.github.io/sharry
GNU General Public License v3.0
890 stars 56 forks source link

add a healthcheck for the db and change the depends_on to wait for condition service_healthy #1500

Closed kastl-ars closed 2 months ago

kastl-ars commented 2 months ago

I had the same error multiple times during testing, that the db is not yet ready, but the container was started. So docker compose started the sharry container which errored out as the database was not found/ready.

This fixed it in my tests.