~xenrox/ansible

85bb5f61932c4851d513bb56486460511c316db6 — Thorben Günther 1 year, 11 months ago ff8ff12
vaultwarden: Config update

 1.25.0 release.
1 files changed, 14 insertions(+), 0 deletions(-)

M roles/vaultwarden/templates/vaultwarden.env.j2
M roles/vaultwarden/templates/vaultwarden.env.j2 => roles/vaultwarden/templates/vaultwarden.env.j2 +14 -0
@@ 3,6 3,11 @@
##
## Be aware that most of these settings will be overridden if they were changed
## in the admin interface. Those overrides are stored within DATA_FOLDER/config.json .
##
## By default, vaultwarden expects for this file to be named ".env" and located
## in the current working directory. If this is not the case, the environment
## variable ENV_FILE can be set to the location of this file prior to starting
## vaultwarden.

## Main data folder
DATA_FOLDER=/var/lib/vaultwarden


@@ 24,6 29,15 @@ DATABASE_URL=postgresql://vaultwarden:{{ vaultwarden_secrets['psql_password'] }}
## Define the size of the connection pool used for connecting to the database.
# DATABASE_MAX_CONNS=10

## Database connection initialization
## Allows SQL statements to be run whenever a new database connection is created.
## This is mainly useful for connection-scoped pragmas.
## If empty, a database-specific default is used:
## - SQLite: "PRAGMA busy_timeout = 5000; PRAGMA synchronous = NORMAL;"
## - MySQL: ""
## - PostgreSQL: ""
# DATABASE_CONN_INIT=""

## Individual folders, these override %DATA_FOLDER%
# RSA_KEY_FILENAME=data/rsa_key
# ICON_CACHE_FOLDER=data/icon_cache