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 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.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

install synology docker dsm

  • STEP 3

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

1 Bitwarden Synology

  • STEP 4

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

2 Bitwarden Synology

  • STEP 5

After the download is completed from the Docker Console, go to Image, then select the bitwardenrs/server:latest container. Click Launch. Check “Execute container using high privilege”, then click Advanced Settings. Follow the instructions in the image below.

3 Bitwarden Synology

  • STEP 6

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

4 Bitwarden Synology

  • STEP 7

Go to File Station and open the docker folder. Inside the docker folder, create a new folder. Follow the instructions in the image below.

5 Bitwarden Synology

  • STEP 8

Create a new folder and name it “bitwarden“. Follow the instructions in the image below.

6 Bitwarden Synology

  • STEP 9

The final result should look like this. Follow the instructions in the image below.

7 Bitwarden Synology

  • STEP 10

Now go back to the Docker Package. Next tab – “Volume“. Select Add Folder. Follow the instructions in the image below.

8 Bitwarden Synology

  • STEP 11

Choose the bitwarden folder you previously created in File Station, then click Select. Follow the instructions in the image below.

9 Bitwarden Synology

  • STEP 12

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

10 Bitwarden Synology

  • STEP 13

Next tab – “Network“ move forward without doing anything (no action needed). Go to Port Settings. On Local Port area type 5151 instead of Auto. Follow the instructions in the image below.

11 Bitwarden Synology

  • STEP 14

Next tab – “Links“ move forward without doing anything (no action needed). Go to the last tab – “Environment“ and click Apply. Follow the instructions in the image below.

12 Bitwarden Synology

  • STEP 15

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

13 Bitwarden Synology

  • STEP 16

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.

14 Bitwarden Synology

  • STEP 17

Your container will look like this:

15 Bitwarden Synology

  • STEP 18

Go back to STEP 1 or you will deal with karma 🙂. Now open your browser and type in http://Synology-ip-address:5151/ Follow the instructions in the image below.

16 Bitwarden Synology

  • STEP 19

Read the step by step guide on How to Allow BitWarden to Work Over an HTTPS Connection.

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: Can I run Docker on my Synology NAS? See the supported models.
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 Sunday / August 2nd, 2020 at 3:17 PM