BitWarden - self hosted password manager using vaultwarden/server image

Docker BitWarden - self hosted password manager using vaultwarden/server image

Hey Rusty, this is an amazing guide. I have Bitwarden set up successfully with a reverse proxy and SSL cert with no problems. However I had a few questions:

1) I noticed the guide does not mention the setting up of the ADMIN_TOKEN. Is there a reason why you didn't show the admin panel?

2) I added the ADMIN_TOKEN as an environmental variable with a strong pw and I can access it via my bw.domain.synology.me domain. I wanted to ask, can you tell me how I can hide the /admin interface from the internet? When I looked in the Unraid forum on this issue another user mentioned adding the following to the reverse proxy line:

"location /admin {
return 404;
}"

It seems like he's using the command line interface and editing the reverse proxy directly. The link to his instruction is here: https://forums.unraid.net/topic/88086-support-bitwardenrs-bitwarden_rs/page/3/

How can I add something similar to this to my Bitwarden instance that's on Synology? I dont use command line, and am familiar with the GUI. If its not possible in the GUI then I'd definitely want to learn how to go about doing this in the CLI within Synology. Please help!
Upvote 0
Thanks - great info
Upvote 0
Well explained for a Docker newbie
Rusty
Rusty
Tnx, hope it will serve you well.
Upvote 0
Perfect - Well explained and it's working like a charm.
Upvote 1
Thank you very much for creating this tutorial and sharing your knowledge.
Rusty
Rusty
You are most welcome. Happy to help
Upvote 0
great tutorial. Any chance of the completing the https part of the tutorial?
Rusty
Rusty
Thx. There is an option to push it via revers proxy for https implementation but if you are referring to a stand alone https implementation the. I’m not sure if i’ll have the time to do it. There are multiple resources that I wanna add not to mention more articles on my blog just don’t have the time atm. If I’ll get some time I’ll be sure to implement those.
Upvote 0
Excellent tutorial on the typical Syno user level.
Next step would be enhance it with a decription to use the Revere-Proxy for Https TLS termination. Once Https is covered, I am quite sure MFA would be helpfull, as it brings a major security advantage to the table.
Rusty
Rusty
Tnx! There is a RP tutorial as well here on the resource page. Also 2FA is an option in BW but not covered by the tutorial as there are multiple options on that front. Personally I use Authy for all my 2FA steps including BW, works like a charm.
Upvote 1
Thanks to this, I started bitwarden on my NAS too.
But I have one question: what exactly should I do to have my data to be stored in that local "/data" subfolder? I configured it as you described (the only difference, I did not named it /data, instead of this I used /mydata), but In File Station under docker/bitwarden I cannot see any subfolder nor data files...
Thank you.
Rusty
Rusty
So as I posted in the discussion, make sure NOT to change the right side of the volume mount point: keep it like /your_local_destination_of_choice:/data
Upvote 0
Great read.
Upvote 0
Excellent tutorial! Finally, I've installed Bitwarden now waiting for next tutorial to use it over https! :)

Thank you, Rusty!
Rusty
Rusty
Welcome m8! Glad you got it going... Hopefully I'll getaround to write it over the weekend.
Upvote 1
Back
Top