
WEBSOCKET_ENABLED: 'true' # Required to use websockets Next, you'll need to edit your `docker-compose.yml` file and paste in the following content. This is an orchestration file which docker-compose will use to provision your Docker instance. Next, you'll need to create a docker-compose.yml file. Next, you'll need to create a new folder, this will house your Bitwarden Server, you can call it anything memorable. Sudo chmod +x /usr/local/bin/docker-compose Step 2: Provisioning your Bitwarden Server sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose This can be done by running the following commands. sudo usermod -aG docker ubuntu Adding your user to the Docker group If this sounds good to you, you can simply run the provided command, substituting your-user for your server user. This means that whenever you are executing the Docker command, you'll no longer need to type in your sudo password.
#HOW TO USE BITWARDEN HOW TO#
You may also notice that there is a console message specifying how to use Docker as a non-root user.
#HOW TO USE BITWARDEN INSTALL#
Docker convenience script install outputĪs you can see in the output, the command was executed successfully. You should see an output like the following. Once you have executed the Docker install script. Sudo sh get-docker.sh Installing Docker using the convenience script It's highly recommended to always check what you're going to execute, before executing it. The following script is a convenience script provided by the Docker team. To install Docker on your instance, you need to run the following command. Docker is the layer which your containers run. You'll need to do some updates and run some prerequisite installs. Once you have the server set up, or have logged in. You could also use a cheap Raspberry PI to set up your own Linux server. Using the following link will give you $100 worth of credits for 60 days to play around with, just sign up using this link. You could also use something like Digital Ocean to host your Bitwarden Server. I use a Proxmox instance running on a server in my loft. You'll need to either have an existing server instance or create one. This will be a publicly exposed Bitwarden API that will live on your server. This section of the tutorial is to set up the main Bitwarden 'hub'.
#HOW TO USE BITWARDEN PASSWORD#
Having Bitwarden as a public endpoint means that I can connect to my password vault using the Bitwarden app on Android, specifying my self hosted instance. I also use Bitwarden for storing all of my passwords. Saves me from having to find or remember my card details. It stores my card details for automating the filling out of payment forms. I use Bitwarden as my main password vault. The Bitwarden platform offers a variety of client applications including a web interface, desktop applications, browser extensions, mobile apps, and a CLI.

What is Bitwarden?īitwarden is a free and open-source password management service that stores sensitive information such as website credentials in an encrypted vault. This article will cover setting up your own self-hosted Bitwarden (Vaultwarden) instance with Docker and configuring ngnix to allow for public exposure for cross-device access to your vault.
