mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 02:22:14 -05:00
[PR #4299] [MERGED] Fix healthcheck when using .env file #22936
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4299
Author: @BlackDex
Created: 1/31/2024
Status: ✅ Merged
Merged: 1/31/2024
Merged by: @dani-garcia
Base:
main← Head:fix-healthcheck📝 Commits (1)
d0bdd46Fix healthcheck when using .env file📊 Changes
1 file changed (+4 additions, -6 deletions)
View changed files
📝
docker/healthcheck.sh(+4 -6)📄 Description
It seems Debian based images see the
.envfile in thepwdpath, but sourcing it via. .envbreaks. It does work if you provide the full path/.env. Changed the default to/.env.Alpine does not have an issue with both ways.
Fixes #4295
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.