How to Install BitWarden on Your Synology NAS

How to Install BitWarden on Your Synology NAS

Bitwarden is a free and open-source password management (password manager) service that stores sensitive information such as website credentials in an encrypted vault. The Bitwarden platform offers a variety of client applications including a web interface, desktop applications, browser extensions, mobile apps, and a CLI. In this step by step guide I will teach you how to install BitWarden on your Synology NAS device using Docker.

Note: This guide works perfectly with the latest version of Bitwarden 2.20.4

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it bitwarden. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Bitwarden Synology NAS 1

  • STEP 4

Open Docker Package. From the Docker Console, go to Registry and search vaultwarden. Look for vaultwarden/server and select it, then click Download or double click on it. You will be prompted to Choose a Tag, select latest. Follow the instructions in the image below.

Bitwarden Synology NAS 2

  • STEP 5

After you click “Select”, the download process of the vaultwarden docker image will start. You can click on Image on the Docker Console to see the download progress. The current container is about 178 MB. Select it and click Launch. Follow the instructions in the image below.

Bitwarden Synology NAS 3

  • STEP 6

After you click Launch on STEP 5 a new pop up window will open click Advanced Settings. Follow the instructions in the image below.

Bitwarden Synology NAS 4

  • STEP 7

Select “Enable auto-restart”. Follow the instructions in the image below.

Bitwarden Synology NAS 4.2

  • STEP 8

Next tab – “Volume“. Select Add Folder. Follow the instructions in the image below.

Bitwarden Synology NAS 5

  • STEP 9

Choose the bitwarden folder you have previously created in File Station at STEP 3 then click Select. Follow the instructions in the image below.

Bitwarden Synology NAS 6

  • STEP 10

After you click Select, type /data inside Mount path. Follow the instructions in the image below.

Bitwarden Synology NAS 7

  • STEP 11

Next tab – “Network“ move forward without doing anything (no action needed).
Next tab – “Port Settings” on Local Port area type 5151 instead of Auto then click Apply. Follow the instructions in the image below.

Bitwarden Synology NAS 8

  • STEP 12

After clicking “Apply“ at STEP 11, the screen below will open. Click “Next“. Follow the instructions in the image below.

Bitwarden Synology NAS 9

  • STEP 13

After clicking “Next“, the screen below will open. Select “Run this container after the wizard is finished” then click “Apply“. Follow the instructions in the image below.

Bitwarden Synology NAS 10

  • STEP 14

Your container will look like this:

Bitwarden Synology NAS 11

  • STEP 15

Go back to STEP 1 or you will deal with karma 🙂.

  • STEP 16

Now open your browser and type in http://Synology-ip-address:5151/ Follow the instructions in the image below.

Bitwarden Synology NAS 12

  • STEP 17 Run Container via HTTPS

Read the step by step guide on How to Allow BitWarden to Work Over an HTTPS Connection. Method 1.
Read Synology: HTTPS-SSL to Your Docker Containers Without Port at The End. Method 2.

Now you have self-hosted BitWarden running on your Synology NAS. Enjoy it and prepare to make it accessible via the Internet using a valid SSL certificate and a custom domain name.

Note: Find out how to update BitWarden container with the latest image.
Note: I recommend you use Reverse Proxy to allow BitWarden to work over an HTTPS connection.
Note: Find out how to allow Bitwarden to reach Internet if you have the VPN service active on your NAS.
Note: bitwardenrs/server Deprecated – Replaced with vaultwarden/server
Note
: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: Did you encounter “this.subtle is null error” when your tried to use the Bitwarden login portal? Here is the solution on how to solve it. Reported by Lucian Sipos.
this-subtle-error

This post was updated on Monday / June 21st, 2021 at 8:39 AM