A script to setup a Vaultwarden docker container
Go to file
2021-12-17 23:08:42 +00:00
data Added Files 2021-12-17 23:08:42 +00:00
cloudflare-update-ip-ranges.sh Added Files 2021-12-17 23:08:42 +00:00
docker-compose.yml Added Files 2021-12-17 23:08:42 +00:00
init-letsencrypt.sh Added Files 2021-12-17 23:08:42 +00:00
lets-test.sh Added Files 2021-12-17 23:08:42 +00:00
LICENSE Added Files 2021-12-17 23:08:42 +00:00
README.md Added Files 2021-12-17 23:08:42 +00:00
restart.sh Added Files 2021-12-17 23:08:42 +00:00
start.sh Added Files 2021-12-17 23:08:42 +00:00
stop.sh Added Files 2021-12-17 23:08:42 +00:00
update.sh Added Files 2021-12-17 23:08:42 +00:00
VW_Setup.sh Added Files 2021-12-17 23:08:42 +00:00
vw_start_verbose.sh Added Files 2021-12-17 23:08:42 +00:00

⚠️IMPORTANT⚠️:

This script is still a work-in-progress and the instructions of use need to be completed, so please DONT use it in a production or real-world enviroment yet or for anything else other than testing.

Vaultwarden_Setup_Script

This is a setup script to create a self-hosted Vaultwarden server (formaly Bitwarden_RS).

To learn more about Vaultwarden, please click Here fore the Wiki.

This script asumes a couple of things, such as; that you know how to setup and secure a OS or hosting enviroment, that you have use of or know how to register aand configure a domain.

Prerequisites

  1. A vaild registered domain name must be used (e.g : vaultwarden.example.com)
  2. The hosting OS enviroment must be debian based, preferably Ubuntu.
  3. If you are going to use ssh to connect to the server locally or over the internet, such as inside a VPS hosting enviroment it should be configured to enable and only use Public Key Authentication (ideally protected with a strong passphrase) and have SSH password authentication disabled.

Installation

Before the script can be run, a hosting enviroment must be configured for it. This script currently installs into the /opt dir.

To setup the server, clone this repository and run:

sudo ./vw_start_verbose.sh

or

curl https://git.ncltech.co.uk/Phil/Vaultwarden_Setup_Script/raw/branch/master/VW_Setup.sh | sudo bash

The script will ask for infomation such as, The FQDN that you want to use, an email address for letsencrypt.