Allow to configure a region for s3 backend

Closes: #2386
This commit is contained in:
eikek
2023-11-17 20:53:27 +01:00
parent bc9a483143
commit 81d8b6c9c1
10 changed files with 43 additions and 11 deletions

View File

@ -739,6 +739,7 @@ Docpell Update Check
access-key = "username"
secret-key = "password"
bucket = "docspell"
region = ""
}
}
}

View File

@ -60,7 +60,7 @@ object ConfigFile {
cfg => cfg.updateCheck.enabled && cfg.updateCheck.subject.els.isEmpty,
"No subject given for enabled update check!"
),
Validation(cfg => cfg.files.validate.map(_ => cfg)),
Validation(cfg => cfg.files.validate.map(f => cfg.copy(files = f))),
Validation.failWhen(
cfg =>
cfg.fullTextSearch.enabled &&