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

Closed
opened 2025-11-01 21:02:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/93
Author: @Saetch
Created: 11/5/2023
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • c7d25a4 Update install-backend.md to healthcheck db service
  • 8333baf Update install-backend.md

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 docs/content/doc/setup/install-backend.md (+8 -0)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/93 **Author:** [@Saetch](https://github.com/Saetch) **Created:** 11/5/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`c7d25a4`](https://github.com/go-vikunja/vikunja/commit/c7d25a4b622dcf1565cd676564efa5f37a29f8b0) Update install-backend.md to healthcheck db service - [`8333baf`](https://github.com/go-vikunja/vikunja/commit/8333baf8b312e308d9a50100c9e5de49c7acfc94) Update install-backend.md ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/doc/setup/install-backend.md` (+8 -0) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-01 21:02:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#696