forked from extern/Proxmox
Update vaultwarden-install.sh
Add Argon2
This commit is contained in:
parent
1267ac0131
commit
c46675f250
@ -5,7 +5,7 @@
|
|||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||||
|
|
||||||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
color
|
color
|
||||||
verb_ip6
|
verb_ip6
|
||||||
catch_errors
|
catch_errors
|
||||||
@ -24,6 +24,7 @@ $STD apt-get -qqy install \
|
|||||||
libpq-dev \
|
libpq-dev \
|
||||||
curl \
|
curl \
|
||||||
sudo \
|
sudo \
|
||||||
|
argon2 \
|
||||||
mc
|
mc
|
||||||
msg_ok "Installed Dependencies"
|
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}"
|
msg_ok "Downloaded Web-Vault ${WEBVAULT}"
|
||||||
|
|
||||||
cat <<EOF >/opt/vaultwarden/.env
|
cat <<EOF >/opt/vaultwarden/.env
|
||||||
ADMIN_TOKEN=$(openssl rand -base64 48)
|
ADMIN_TOKEN=''
|
||||||
ROCKET_ADDRESS=0.0.0.0
|
ROCKET_ADDRESS=0.0.0.0
|
||||||
DATA_FOLDER=/opt/vaultwarden/data
|
DATA_FOLDER=/opt/vaultwarden/data
|
||||||
DATABASE_MAX_CONNS=10
|
DATABASE_MAX_CONNS=10
|
||||||
|
Loading…
Reference in New Issue
Block a user