go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
773 stars 56 forks source link

Fixed an issue that could cause the api service to exit(1) when using the default documented docker-compose.yml file #93

Closed Saetch closed 8 months ago

Saetch commented 8 months ago

It is possible for the api service to crash due to being unable to connect to the database which is not yet ready to accept connections. I added a healthcheck for the db and added a condition for the api service to wait until the db service is healthy

github-actions[bot] commented 8 months ago

Hi! Thank you for your contribution. This repo is only a mirror and unfortunately we can't accept PRs made here. Please re-submit your changes to our Gitea instance. Also check out the contribution guidelines. Thank you for your understanding.