mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
The primary motivation for this change is to support databases that don't take a path, e.g. out of process databases. This configuration structure leaves the door open for other media storage mechanisms in the future, such as S3. It's also structured to avoid `#[serde(flatten)]` so that we can use `#[serde(deny_unknown_fields)]`.
12 lines
235 B
TOML
12 lines
235 B
TOML
server_name = "example.com"
|
|
|
|
[server_discovery]
|
|
client.base_url = "https://matrix.example.com"
|
|
|
|
[database]
|
|
backend = "rocksdb"
|
|
path = "/var/lib/grapevine/database"
|
|
|
|
[media.backend]
|
|
type = "filesystem"
|
|
path = "/var/lib/grapevine/media"
|