Skip to content

Upgrading to docker-extracted binary cant find sqllite db (but we use postgres) #5241

Answered by stefan0xC
utvikler asked this question in Q&A
Discussion options

You must be logged in to vote

is there some way to tell the vaultwarden binary to use /etc/vaultwarden/vaultwarden.conf ?

You can set the ENV_FILE variable to that location.

## By default, Vaultwarden expects for this file to be named ".env" and located
## in the current working directory. If this is not the case, the environment
## variable ENV_FILE can be set to the location of this file prior to starting
## Vaultwarden.

Alternatively if you are using a systemd .service file you can set the EnvironmentFile= directive instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by utvikler
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants