diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-30 00:03:41 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-30 00:03:41 +0100 |
commit | 424e7ae22ca6c2c44574821eff9600997ab96252 (patch) | |
tree | 05228e9147b8f3377077117048c71a24fdae2fcf /app/im/config/litestream.yml | |
parent | 7c775e601700505d8cc6d2ab809ea0f459a6257b (diff) | |
download | nixcfg-424e7ae22ca6c2c44574821eff9600997ab96252.tar.gz nixcfg-424e7ae22ca6c2c44574821eff9600997ab96252.zip |
Synapse sqlite db with litestream
Diffstat (limited to 'app/im/config/litestream.yml')
-rw-r--r-- | app/im/config/litestream.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/im/config/litestream.yml b/app/im/config/litestream.yml new file mode 100644 index 0000000..a80b41b --- /dev/null +++ b/app/im/config/litestream.yml @@ -0,0 +1,10 @@ +dbs: + - path: /ephemeral/homeserver.db + replicas: + - url: s3://synapse-db/homeserver.db + region: garage-staging + endpoint: https://garage-staging.home.adnab.me + access-key-id: {{ key "secrets/synapse/s3_db_access_key" | trimSpace }} + secret-access-key: {{ key "secrets/synapse/s3_db_secret_key" | trimSpace }} + force-path-style: true + sync-interval: 60s |