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.
STEP 1
Please Support My work by Making a Donation.
STEP 2
Install Docker via Synology “Package Center”.
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.
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.
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.
STEP 6
Select “Enable auto-restart”. Follow the instructions in the image below.
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.
STEP 8
Create a new folder and name it “bitwarden“. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.
STEP 9
The final result should look like this. Follow the instructions in the image below.
STEP 10
Now go back to the Docker Package. Next tab – “Volume“. Select Add Folder. Follow the instructions in the image below.
STEP 11
Choose the bitwarden folder you previously created in File Station, then click Select. Follow the instructions in the image below.
STEP 12
After you click Select, type /data inside Mount path. Follow the instructions in the image below.
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.
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.
STEP 15
After clicking “Apply“, the screen below will open. Click “Next“. Follow the instructions in the image below.
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.
STEP 17
Your container will look like this:
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.
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 post was updated on Monday / January 18th, 2021 at 10:13 AM