[PR #4678] [CLOSED] Reduce healthcheck internal while keep performance #3440

Closed
opened 2026-02-05 05:28:33 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4678
Author: @hellodword
Created: 6/27/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 6c87c88 Reduce healthcheck internal while keep performance

📊 Changes

4 files changed (+12 additions, -4 deletions)

View changed files

📝 docker/Dockerfile.alpine (+1 -1)
📝 docker/Dockerfile.debian (+1 -1)
📝 docker/Dockerfile.j2 (+1 -1)
📝 docker/healthcheck.sh (+9 -1)

📄 Description

Currently, it takes 60 seconds for vaultwarden/server to become healthy:

version: "3"

services:
  vaultwarden:
    image: vaultwarden/server:1.30.5-alpine
    # image: vaultwarden/server:1.30.5
    restart: no
    environment:
      I_REALLY_WANT_VOLATILE_STORAGE: true

  nginx:
    image: nginx
    restart: no
    depends_on:
      vaultwarden:
        condition: service_healthy

By implementing a cache mechanism, we can reduce this interval.


🔄 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/dani-garcia/vaultwarden/pull/4678 **Author:** [@hellodword](https://github.com/hellodword) **Created:** 6/27/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`6c87c88`](https://github.com/dani-garcia/vaultwarden/commit/6c87c8882e18d757c55853a386ef06ce3ea8906c) Reduce healthcheck internal while keep performance ### 📊 Changes **4 files changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docker/Dockerfile.alpine` (+1 -1) 📝 `docker/Dockerfile.debian` (+1 -1) 📝 `docker/Dockerfile.j2` (+1 -1) 📝 `docker/healthcheck.sh` (+9 -1) </details> ### 📄 Description Currently, it takes 60 seconds for `vaultwarden/server` to become healthy: ```ymal version: "3" services: vaultwarden: image: vaultwarden/server:1.30.5-alpine # image: vaultwarden/server:1.30.5 restart: no environment: I_REALLY_WANT_VOLATILE_STORAGE: true nginx: image: nginx restart: no depends_on: vaultwarden: condition: service_healthy ``` By implementing a cache mechanism, we can reduce this interval. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:28:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3440