You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the BORGMATIC_PASSPHRASE_FILE, the BORGMATIC_PASSPHRASE is not set inside the container. Initializing repositories or creating archives also asks for my passphrase.
$ docker compose exec borgmatic borgmatic create --verbosity 1 --stats --list
local: Creating archive
Enter passphrase for key /backup/repo:
However, BORGMATIC_PASSPHRASE works as expected when passed as is to the container. It seems that the _FILE variable is not working in my case.
The logs still print this message when starting up:
Setting BORG_PASSPHRASE from the content of /run/secrets/BORGMATIC_ENCRYPTION_PASSPHRASE
Unsetting BORG_PASSPHRASE_FILE
OS: Fedora Linux version 38 (Server Edition) Docker version: Docker version 25.0.2, build 29cf629 Compose version: Docker Compose version v2.24.5
I have the following borgmatic service in my compose.yaml file:
When using the
BORGMATIC_PASSPHRASE_FILE
, theBORGMATIC_PASSPHRASE
is not set inside the container. Initializing repositories or creating archives also asks for my passphrase.However,
BORGMATIC_PASSPHRASE
works as expected when passed as is to the container. It seems that the_FILE
variable is not working in my case.The logs still print this message when starting up:
OS: Fedora Linux version 38 (Server Edition)
Docker version: Docker version 25.0.2, build 29cf629
Compose version: Docker Compose version v2.24.5
This issue might be related to #320.
The text was updated successfully, but these errors were encountered: