A script to setup a Vaultwarden docker container
| data | ||
| cloudflare-update-ip-ranges.sh | ||
| docker-compose.yml | ||
| init-letsencrypt.sh | ||
| lets-test.sh | ||
| LICENSE | ||
| README.md | ||
| restart.sh | ||
| start.sh | ||
| stop.sh | ||
| update.sh | ||
| VW_Setup.sh | ||
| vw_start_verbose.sh | ||
⚠️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
- A vaild registered domain name must be used (e.g : vaultwarden.example.com)
- The hosting OS enviroment must be debian based, preferably Ubuntu.
- 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.