Fix healthcheck when using .env file #1255

Closed
opened 2026-04-06 01:42:56 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BlackDex on 1/31/2024

It seems Debian based images see the .env file in the pwd path, but sourcing it via . .env breaks. 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

*Originally created by @BlackDex on 1/31/2024* It seems Debian based images see the `.env` file in the `pwd` path, but sourcing it via `. .env` breaks. 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
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1255