From faf509270bbe90863906a2e40adf39a39c217b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Thu, 1 Jul 2021 15:11:38 +0200 Subject: [PATCH] vaultwarden: Upstream release --- .../vaultwarden/templates/vaultwarden.env.j2 | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/roles/vaultwarden/templates/vaultwarden.env.j2 b/roles/vaultwarden/templates/vaultwarden.env.j2 index e924864..6e85b99 100644 --- a/roles/vaultwarden/templates/vaultwarden.env.j2 +++ b/roles/vaultwarden/templates/vaultwarden.env.j2 @@ -56,6 +56,11 @@ WEBSOCKET_ENABLED=true # WEBSOCKET_ADDRESS=0.0.0.0 # WEBSOCKET_PORT=3012 +## Controls whether users are allowed to create Bitwarden Sends. +## This setting applies globally to all users. +## To control this on a per-org basis instead, use the "Disable Send" org policy. +# SENDS_ALLOWED=true + ## Job scheduler settings ## ## Job schedules use a cron-like syntax (as parsed by https://crates.io/crates/cron), @@ -101,7 +106,7 @@ WEBSOCKET_ENABLED=true ## Note that if the DB already has WAL enabled, you will also need to disable WAL in the DB, ## this setting only prevents vaultwarden from automatically enabling it on start. ## Please read project wiki page about this setting first before changing the value as it can -## cause performance degradation or might render the service unable to start. +## cause performance degradation or might render the service unable to start. ENABLE_DB_WAL=false ## Database connection retries @@ -196,6 +201,11 @@ ADMIN_TOKEN={{ vaultwarden_admin_token }} ## Limit in kilobytes for a users attachments, once the limit is exceeded it won't be possible to upload more # USER_ATTACHMENT_LIMIT= +## Number of days to wait before auto-deleting a trashed item. +## If unset (the default), trashed items are not auto-deleted. +## This setting applies globally, so make sure to inform all users of any changes to this setting. +TRASH_AUTO_DELETE_DAYS=90 + ## Controls the PBBKDF password iterations to apply on the server ## The change only applies when the password is changed # PASSWORD_ITERATIONS=100000 @@ -246,12 +256,13 @@ DOMAIN=https://pass.xenrox.net ## You can disable this, so that only the current TOTP Code is allowed. ## Keep in mind that when a sever drifts out of time, valid codes could be marked as invalid. ## In any case, if a code has been used it can not be used again, also codes which predates it will be invalid. -# AUTHENTICATOR_DISABLE_TIME_DRIFT = false +# AUTHENTICATOR_DISABLE_TIME_DRIFT=false -## Rocket specific settings, check Rocket documentation to learn more -# ROCKET_ENV=staging -# ROCKET_ADDRESS=0.0.0.0 # Enable this to test mobile app -# ROCKET_PORT=8000 +## Rocket specific settings +## See https://rocket.rs/v0.4/guide/configuration/ for more details. +# ROCKET_ADDRESS=0.0.0.0 +# ROCKET_PORT=80 # Defaults to 80 in the Docker images, or 8000 otherwise. +# ROCKET_WORKERS=10 # ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"} ROCKET_LIMITS={json=10485760} -- 2.44.0