
Select Proxy Hosts, then Add Proxy Host.Ģ. You can use a separate reverse proxy server if you’d like.ġ. Alternatively, you do not have to use Nginx Proxy Manager, or a reverse proxy server hosted on your Raspberry Pi. If you’d like to use Nginx Proxy Manager, you can learn how to set it up here. In this tutorial, I will be using Nginx Proxy Manager which will be hosted on the same Raspberry Pi.

The recommended approach for exposing Bitwarden outside of your local network is by using a reverse proxy. This is to confirm that everything is loading as expected on the bitwarden server. Connect to the IP address of your Raspberry Pi and Port 8080 to access the web interface. Give the container a few minutes, and it should be healthy.ĩ. Change the Restart Policy to Always, then Deploy the container.Ĩ. Select Volumes, then map the /data container path to the Bitwarden volume we created earlier.ħ. Finally, publish a new network port and map the host port 8080 to the container port 80.Ħ. Give the container a Name, then in the Image section, add vaultwarden/server:latest so docker pulls the latest image. For this reason, you will have to use that image name (as opposed to what the screenshot is showing).ĥ. This is where all of your important information will be stored, so back up this folder if you’d like to ensure your data is backed up.ĥ/3/21 Update: The bitwardenrs image has been deprecated and renamed to vaultwarden. Technically, you don’t have to install Portainer, but I find it easier to manage my Docker containers that way, so I’ll be using that to install Bitwarden on a Raspberry Pi.ģ. Ensure that you have Docker and Portainer installed on your Raspberry Pi. Conclusion – Self Host Bitwarden on a Raspberry Piġ.

This container image also includes an SQLite database which works well for one or two users. In order to locate which container to run I checked their Github Wiki and found that I need the bitwardenrs/server:raspberry image which is armv7hf compatible. If you do not have Docker installed on your Raspberry Pi you can view the steps to get it up and running here. You can check out my Bitwarden review here. Luckily I found Bitwarden_rs which is not as resource intensive as the official image and is perfect for small self-hosted environments. The official Bitwarden image only supports the amd64 architecture and I needed a container that I could run on my Raspberry Pi 4 cluster. Bitwarden is an open-source password manager that can be self-hosted at home to keep your passwords and other private data secure.
