BitWarden - self hosted password manager using vaultwarden/server image

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

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

Telos

Subscriber
2,004
666
NAS
DS418play, DS213j, DS3622+, DSM 7.1.4-11091
Last edited:
For the more timid... Stop the bitwardenrs container, then copy the /docker/bitwarden/data folder to /docker/vaultwarden/data. Point /docker/vaultwarden/data (external) to /data (internal).

Assign an external port to internal port 80, and update your reverse proxy to point to the vaultwarden port, and then launchthe new container!

Sync to confirm all is connected.
 

Rusty

Moderator
NAS Support
4,601
1,327
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
btw. when I want to delete the older bitwardenrs/server container, should I also turn on the "automatically remove non-persistent volumes" or not?" To be humble, I have no glue what that means...
You can yes. Bw doesn’t have any but yes you can
 
398
81
NAS
RS820+, DS718+
Operating system
  1. Windows
Mobile operating system
  1. iOS
Anything new or different with the Vaultwarden image?
 

Rusty

Moderator
NAS Support
4,601
1,327
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Anything new or different with the Vaultwarden image?
No, apart from the name and the image itself, nothing. You can use your existing volumes with this image.
 
398
81
NAS
RS820+, DS718+
Operating system
  1. Windows
Mobile operating system
  1. iOS
No, apart from the name and the image itself, nothing. You can use your existing volumes with this image.

yes I have made the switch over. The only thing I had to do was create a new container. I had to refer back to the resource to make sure all steps were properly configured. Stuff like this I have to create my own reference and throw it in a word doc, in case I need it in a pinch.
 
60
13
NAS
DS209j | DS210j | DS410 | DS214 | DS216+II | DS916+ | DS920x
Router
  1. RT2600ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Hi @Rusty, thanks a lot for your effort here!
Vaultwarden 2.23.0 is still running like a charm.

I just wonder:
What's the most elegant way to achieve a redirect from http to https?

I've set up websocket LiveSync like described here.
Some browsers (Firefox) redirect http://mybitwarden.url to https://mybitwarden.url like expected.
But some browsers (Safari) redirect http://mybitwarden.url to https://myNAS.url:port

This corresponds to my settings in "Control Panel": Redirect for my DSM interface is turned on.
But how do I achieve the redirect for my specific bitwarden.url?

Using this tutorial (installing web station etc.) or is there a better/easier?

Thanks a lot,
marko
 

Rusty

Moderator
NAS Support
4,601
1,327
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
redirect from http to https?
Best way imho would be to use a proper reverse proxy. I use NPM docker image for this and by default it redirects http to https for all my apps. Ofc, you will have to have 80 and 443 open at the same time for this, but still, it works.

 
12
2
NAS
DS412+
Hi, I've just updated the vault warden image to the last one (2.23.0) via Portainer. Everything goes well, and when I launch the address fort the graphical interface it appears without problem (it's http://192.168.1.109:32769).
I put e-mail address and the password, and I receive an error message: "This browser requires https to use the web vault. Check the Vaultwarden wiki for details on how to enable it".

Have I change something in the docker configuration? External access via Synology Reverse Proxy works fine, and redirect my "xxxx.synology.me:443" to the local "http://192.168.0.109:32769".

Thanks in advance.
 

Rusty

Moderator
NAS Support
4,601
1,327
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Hi, I've just updated the vault warden image to the last one (2.23.0) via Portainer. Everything goes well, and when I launch the address fort the graphical interface it appears without problem (it's http://192.168.1.109:32769).
I put e-mail address and the password, and I receive an error message: "This browser requires https to use the web vault. Check the Vaultwarden wiki for details on how to enable it".

Have I change something in the docker configuration? External access via Synology Reverse Proxy works fine, and redirect my "xxxx.synology.me:443" to the local "http://192.168.0.109:32769".

Thanks in advance.
You can’t access bw without a valid https url regardless where you are accessing it from.
 
398
81
NAS
RS820+, DS718+
Operating system
  1. Windows
Mobile operating system
  1. iOS
Hi, I've just updated the vault warden image to the last one (2.23.0) via Portainer. Everything goes well, and when I launch the address fort the graphical interface it appears without problem (it's http://192.168.1.109:32769).
I put e-mail address and the password, and I receive an error message: "This browser requires https to use the web vault. Check the Vaultwarden wiki for details on how to enable it".

Have I change something in the docker configuration? External access via Synology Reverse Proxy works fine, and redirect my "xxxx.synology.me:443" to the local "http://192.168.0.109:32769".

Thanks in advance.

Can you try HTTPS://192.168.1.109:32769 you'll get a cert error because its not a registered domain name, but you should be able to click advanced (depending on browser) and proceed with the connection
 
12
2
NAS
DS412+
You can’t access bw without a valid https url regardless where you are accessing it from.

I’ve tried to use https://192.168.1.109:32769, but it doesn’t work. It’s a bit annoying not to access to the local Bitwarden server…
-- post merged: --

Can you try HTTPS://192.168.1.109:32769 you'll get a cert error because its not a registered domain name, but you should be able to click advanced (depending on browser) and proceed with the connection

I’ll try with another browser, because using Safari the https local url gives me an error without possibility to continue.
 
398
81
NAS
RS820+, DS718+
Operating system
  1. Windows
Mobile operating system
  1. iOS
I’ve tried to use https://192.168.1.109:32769, but it doesn’t work. It’s a bit annoying not to access to the local Bitwarden server…

Actually when accessing it internally make sure you use the local bw port. If port 32769 is the external port, which is forwarded to your internal port it won’t work.

@Rusty I know this would work for synology. Maybe bw is different
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I'll delete everything I can containers/images/etc, and start fresh over the weekend. While I really like...
Replies
48
Views
2,371
From looking in a terminal session on the running FreshRSS container... [email protected]:/# more /etc/hosts...
Replies
58
Views
4,336
I ran across a very complete how-to-install-nextcloud on Docker using the Synology UI (just the UI, not...
Replies
28
Views
4,899
Hello, i just tried to follow these steps above, but all I get is a psql: could not connect to server...
Replies
43
Views
6,144
I found a way to do this using portainer and stacks. DB Stack is a great source for all things docker.
Replies
33
Views
10,519

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Top