refactor(config): consolidate into single config.json, storage backend selectable

This commit is contained in:
2026-07-18 08:05:39 +08:00
parent 3a931fe752
commit 4787fdbf22
4 changed files with 58 additions and 43 deletions

13
config.example.json Normal file
View File

@@ -0,0 +1,13 @@
{
"storage": {
"backend": "local",
"s3": {
"endpoint": "https://s3.amazonaws.com",
"bucket": "my-mailova-bucket",
"region": "auto",
"access_key": "AKIA...",
"secret_key": "...",
"public_url": "https://cdn.example.com/mailova"
}
}
}