Update vaultwarden-install.sh

Add Argon2
This commit is contained in:
tteckster 2023-04-09 23:47:27 -04:00 committed by GitHub
parent 1267ac0131
commit c46675f250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,7 @@ $STD apt-get -qqy install \
libpq-dev \
curl \
sudo \
argon2 \
mc
msg_ok "Installed Dependencies"
@ -61,7 +62,7 @@ $STD tar -xzf bw_web_$WEBVAULT.tar.gz -C /opt/vaultwarden/
msg_ok "Downloaded Web-Vault ${WEBVAULT}"
cat <<EOF >/opt/vaultwarden/.env
ADMIN_TOKEN=$(openssl rand -base64 48)
ADMIN_TOKEN=''
ROCKET_ADDRESS=0.0.0.0
DATA_FOLDER=/opt/vaultwarden/data
DATABASE_MAX_CONNS=10