===== BITWARDEN ===== [[https://bitwarden.com/help/install-on-premise-linux/|OFFICIAL]] Pour MAJ: #./bitwarden.sh updateself and then: #./bitwarden.sh update --------------- Environment Variables (Required) Some features of Bitwarden are not configured by the bitwarden.sh script. Configure these settings by editing the environment file, located at ./bwdata/env/global.override.env. At a minimum, you should replace the values for: globalSettings__mail__smtp__host= globalSettings__mail__smtp__port= globalSettings__mail__smtp__ssl= globalSettings__mail__smtp__username= globalSettings__mail__smtp__password= adminSettings__admins= Replacing globalSettings__mail__smtp...= placeholder will configure the SMTP Mail Server that will be used to send verification emails to new users and invitations to Organizations. Adding an email address to adminSettings__admins= will provision access to the Admin Portal. After editing global.override.env, run the following command to apply your changes: #./bitwarden.sh restart Installation File The Bitwarden installation script uses settings in ./bwdata/config.yml to generate the necessary assets for installation. Some installation scenarios (e.g. installations behind a proxy with alternate ports) may require adjustments to config.yml that were not provided during standard installation. Edit config.yml as necessary and apply your changes by running: #./bitwarden.sh rebuild Start Bitwarden Once you've completed all previous steps, start your Bitwarden instance: #./bitwarden.sh start  Note The first time you start Bitwarden it may take some time as it downloads all of the images from Docker Hub. Verify that all containers are running correctly: #docker ps docker-healthy.png docker-healthy.png Congratulations! Bitwarden is now up and running at https://your.domain.com. Visit the web vault in your web browser to confirm that it's working. You may now register a new account and log in. You will need to have configured smtp environment variables (see Environment Variables) in order to verify the email for your new account. Tip Once deployed, we recommend regularly backing up your server and checking for system updates. Script Commands Reference The Bitwarden installation script (bitwarden.sh or bitwarden.ps1) has the following commands available: Note PowerShell users will run the commands with a prefixed - (switch). For example .\bitwarden.ps1 -start. | Command | Description | | install | Start the installer. | | start | Start all containers. | | restart | Restart all containers (same as start). | | stop | Stop all containers. | | update | Update all containers and the database. | | updatedb | Update/initialize the database. | | updaterun | Update the run.sh file. | | updateself | Update this main script. | | updateconf | Update all containers without restarting the running instance. | | uninstall | Before this command executes, you'll be prompted to save database files. y will create a tarfile of your database including the most recent backup. | Stops containers, deletes the bwdata directory and all its contents, and removes ephemeral volumes. After executing, you'll be asked whether you also want to purge all Bitwarden images. renewcert Renew certificates. rebuild Rebuild generated installation assets from config.yml. help List all commands.