User Tools

Site Tools


computing:bitwarden

This is an old revision of the document!



  • bitwarden
  • Jonathan Haack
  • Haack's Networking
  • netcmnd@jonathanhaack.com

bitwarden [incomplete & non-functional, improvements from hacking club welcome]


This tutorial is for users of Debian GNU/Linux and it provides a quick overview of how to set up bitwarden community edition docker instance. As always, do not begin with setting up sensitive web-hosting environments without first securing your installation - for that, read Apache Survival first. First, install docker. Currently, the scripts below were current as of the post date below, but always check the official documentation in case this has been changed or updated.

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io  
sudo docker run hello-world

Now, you need to install docker compose (again, check official documentation for updates to this):

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Now that docker is fully installed, we can install bitwarden community edition. Always check their install script and then after run it. It sets up a dokcer instance for bitwarden, so you should be aware of what the script does and where this instance is coming from, etc.

curl -Lso bitwarden.sh https://go.btwrdn.co/bw-sh \
    && chmod +x bitwarden.sh    
./bitwarden.sh install

Common bitwarden config tweaks and commands to rebuild it:

./bwdata/config.yml
./bitwarden.sh rebuild
./bitwarden.sh update
./bitwarden.sh start

BitWarden Community Edition Installation Debian Docker Installation Debian Docker Compose

oemb1905 2019/09/02 16:13

computing/bitwarden.1577671930.txt.gz · Last modified: 2019/12/30 02:12 by oemb1905