aboutsummaryrefslogtreecommitdiff
path: root/app/im/config/litestream.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/im/config/litestream.yml')
-rw-r--r--app/im/config/litestream.yml10
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