[GH-ISSUE #2220] Add Healthcheck to Dockerfile #6601

Open
opened 2026-04-20 17:12:01 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @momonator25 on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2220

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same feature request.

Description

I found issue #363 from over a year ago marked as "Closed as not planned".
Is there any reason why it should not be implemented?

The corresponding function is already there:

docker exec -it vikunja-app-1 /app/vikunja/vikunja healthcheck returns API server is healthy

I see no downside in having a proper healthcheck in the Dockerfile which is acitve by default.

Which alternatives did you consider using instead?

The already mentioned:

healthcheck:
  test: [ "CMD", "/app/vikunja/vikunja", "healthcheck" ]

should work fine (I use exactly this in my Docker-Compose.yaml)

Originally created by @momonator25 on GitHub (Feb 10, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2220 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same feature request. ### Description I found [issue #363](https://github.com/go-vikunja/vikunja/issues/363) from over a year ago marked as "Closed as not planned". Is there any reason why it should not be implemented? The corresponding function is already there: `docker exec -it vikunja-app-1 /app/vikunja/vikunja healthcheck` returns `API server is healthy` I see no downside in having a proper healthcheck in the `Dockerfile` which is acitve by default. ### Which alternatives did you consider using instead? The already mentioned: ```yaml healthcheck: test: [ "CMD", "/app/vikunja/vikunja", "healthcheck" ] ``` should work fine (I use exactly this in my `Docker-Compose.yaml`)
GiteaMirror added the area/docker label 2026-04-20 17:12:01 -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#6601