Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| bitwarden [2022/07/08 17:50] – créée huracan | bitwarden [2023/12/06 20:58] (Version actuelle) – huracan | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| [[https:// | [[https:// | ||
| + | Pour MAJ: | ||
| + | |||
| + | # | ||
| + | |||
| + | and then: | ||
| + | |||
| + | # | ||
| + | |||
| + | |||
| + | --------------- | ||
| Environment Variables (Required) | 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 ./ | Some features of Bitwarden are not configured by the bitwarden.sh script. Configure these settings by editing the environment file, located at ./ | ||
| - | ... | + | |
| - | globalSettings__mail__smtp__host=< | + | globalSettings__mail__smtp__port=< |
| - | globalSettings__mail__smtp__port=< | + | globalSettings__mail__smtp__ssl=< |
| - | globalSettings__mail__smtp__ssl=< | + | globalSettings__mail__smtp__username=< |
| - | globalSettings__mail__smtp__username=< | + | globalSettings__mail__smtp__password=< |
| - | globalSettings__mail__smtp__password=< | + | adminSettings__admins= |
| - | ... | + | |
| - | 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. | 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, | After editing global.override.env, | ||
| - | ./ | + | #./ |
| + | | ||
| Installation File | Installation File | ||
| The Bitwarden installation script uses settings in ./ | The Bitwarden installation script uses settings in ./ | ||
| Ligne 26: | Ligne 35: | ||
| Edit config.yml as necessary and apply your changes by running: | Edit config.yml as necessary and apply your changes by running: | ||
| - | ./ | + | #./ |
| - | | + | |
| Start Bitwarden | Start Bitwarden | ||
| Once you've completed all previous steps, start your Bitwarden instance: | Once you've completed all previous steps, start your Bitwarden instance: | ||
| - | ./ | + | #./ |
| | | ||
| Note | Note | ||
| Ligne 38: | Ligne 47: | ||
| Verify that all containers are running correctly: | Verify that all containers are running correctly: | ||
| - | docker ps | + | #docker ps |
| docker-healthy.png | docker-healthy.png | ||
| Ligne 46: | Ligne 55: | ||
| 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. | 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 | Tip | ||
| Once deployed, we recommend regularly backing up your server and checking for system updates. | Once deployed, we recommend regularly backing up your server and checking for system updates. | ||
| - | | + | |
| Script Commands Reference | Script Commands Reference | ||
| The Bitwarden installation script (bitwarden.sh or bitwarden.ps1) has the following commands available: | The Bitwarden installation script (bitwarden.sh or bitwarden.ps1) has the following commands available: | ||
| - | | + | |
| Note | Note | ||
| PowerShell users will run the commands with a prefixed - (switch). For example .\bitwarden.ps1 -start. | PowerShell users will run the commands with a prefixed - (switch). For example .\bitwarden.ps1 -start. | ||
| - | Command Description | + | | Command |
| - | install Start the installer. | + | | install |
| - | start Start all containers. | + | | start | Start all containers. |
| - | restart Restart all containers (same as start). | + | | restart |
| - | stop Stop all containers. | + | | stop | Stop all containers. |
| - | update Update all containers and the database. | + | | update |
| - | updatedb Update/ | + | | updatedb |
| - | updaterun Update the run.sh file. | + | | updaterun |
| - | updateself Update this main script. | + | | updateself |
| - | updateconf Update all containers without restarting the running instance. | + | | updateconf |
| - | 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. | + | | uninstall |
| - | 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. | + | 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. | renewcert Renew certificates. | ||
| rebuild Rebuild generated installation assets from config.yml. | rebuild Rebuild generated installation assets from config.yml. | ||
| help List all commands. | help List all commands. | ||