
To do this securely let’s generate a random string using the command openssl.

We’re going to setup Bitwarden and enable the admin dashboard. We’ll create our docker-compose.yml in the containers directory. We’ll call this root directory containers but you can name it anything you’d prefer. I use a convention of keeping my compose file in a directory with all of the data sub-directories mounted into the containers. Our steps will be performed using Linux but they can be tailored to work just the same in Windows and identically on Macs. This tutorial will work on Linux, Mac and Windows. Let’s get started! Initial Setup & Compose Fileīe sure to have Docker and Docker-compose installed. Feel free to borrow from other tutorials we’ve written.įor now, let’s focus on hosting Bitwarden but don’t let it limit your imagination to what other applications you’d like to host. You can host any number of websites behind a Packetriot tunnel too. One thing to take note is that this tutorial is focusing on setting up Bitwarden, however, you can add any number of other services to the compose file. Setting up the mobile apps to connect to your Bitwarden server is easy and we will walk through that as well. We’ll also setup a Packetriot tunnel using a custom domain.

In this tutorial we’ll setup an instance of Bitwarden using Docker and a compose file. It also includes browser extensions, making it very simple to integrate password management into web browsing, making it a very competitve alternative to service providers like LastPass and 1Password. Bitwarden doesn’t sacrifice convenience and comes with companion applications for iOS and Android. Hosting a password vault and having the ability to inspect and audit the data it stores provides piece of mind. Bitwarden provides it’s own hosting services but it’s open-source which makes it easy to host on your own.

It’s a great alternative to very popular password managers such as LastPass and 1Password. Bitwarden is a password manager and secure vault application.
