migrate vaultwarden storage from NFS to iSCSI

SQLite on NFS causes DB corruption due to unreliable POSIX fcntl locking.
iSCSI provides a block device with a local filesystem where locking works
correctly. Same approach used for Redis, MySQL, PostgreSQL, etc.
This commit is contained in:
Viktor Barzin 2026-03-14 22:45:56 +00:00
parent 7e72a10848
commit 92cc3f01c1
2 changed files with 15 additions and 9 deletions

View file

@ -225,7 +225,6 @@ module "monitoring" {
module "vaultwarden" {
source = "./modules/vaultwarden"
tls_secret_name = var.tls_secret_name
nfs_server = var.nfs_server
mail_host = var.mail_host
smtp_password = data.vault_kv_secret_v2.secrets.data["vaultwarden_smtp_password"]
tier = local.tiers.edge