.env file - New to bitwardenrs

Hello,

I am new to the bitwardenrs and to docker - docker-compose.
I just install the bitwardenrs to my server following the instructions of readme file on GitHub. I have installed docker and docker-compose and I want to edit the .env file to write my configuration about HTTPS and other but I don’t known how I can find this file!

I try “docker exec -it bitwarden bash” and I am in the bitwardenrs docker location, what I should do now for configuring?

(I am absolutely new to docker & compose and I don’t understand!)

Thanks!

Hello,

Wouldn’t it be a better idea not to use Docker but rather do an installation from scratch? If you don’t figure it out it can be a real headache when it comes to debugging …

It’s just a suggestion!

Hello @inspect8,

I suggest to read: https://github.com/dani-garcia/bitwarden_rs/wiki/Using-Docker-Compose
Which explains how to use docker-compose.
For all the .env values you want to change you can put them under the environment: option.
Please keep in mind that if you use the admin interface and save something there those environment variables are overwritten.