Update vaultwarden-install.sh

This commit is contained in:
tteckster 2022-08-23 10:46:07 -04:00 committed by GitHub
parent 0a8ec7f066
commit 36cfc3043b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,8 +105,7 @@ tar -xzf bw_web_$WEBVAULT.tar.gz -C /opt/vaultwarden/ &>/dev/null
msg_ok "Downloaded Web-Vault ${WEBVAULT}" msg_ok "Downloaded Web-Vault ${WEBVAULT}"
cat <<EOF > /opt/vaultwarden/.env cat <<EOF > /opt/vaultwarden/.env
## https://github.com/dani-garcia/vaultwarden/blob/main/.env.template ADMIN_TOKEN=$(openssl rand -base64 48)
# ADMIN_TOKEN=$(openssl rand -base64 48)
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