From 85bb5f61932c4851d513bb56486460511c316db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Tue, 24 May 2022 17:16:54 +0200 Subject: [PATCH] vaultwarden: Config update 1.25.0 release. --- roles/vaultwarden/templates/vaultwarden.env.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/roles/vaultwarden/templates/vaultwarden.env.j2 b/roles/vaultwarden/templates/vaultwarden.env.j2 index 8b14f4e..479f686 100644 --- a/roles/vaultwarden/templates/vaultwarden.env.j2 +++ b/roles/vaultwarden/templates/vaultwarden.env.j2 @@ -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 -- 2.44.0