aboutsummaryrefslogtreecommitdiff
path: root/app/im/config/litestream.yml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-19 14:24:44 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-19 14:24:44 +0100
commit3c12cf646373cb66c3eb0a9b0dbb3f12534dd69a (patch)
tree2e6e931faef312bf6e6cdbef33f2944a8a5cde2d /app/im/config/litestream.yml
parentb5ec581bc8404ff993910e4ba28df564b0e15c02 (diff)
downloadnixcfg-3c12cf646373cb66c3eb0a9b0dbb3f12534dd69a.tar.gz
nixcfg-3c12cf646373cb66c3eb0a9b0dbb3f12534dd69a.zip
im: directly call Garage on local node when possible
Diffstat (limited to 'app/im/config/litestream.yml')
-rw-r--r--app/im/config/litestream.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/im/config/litestream.yml b/app/im/config/litestream.yml
index 0f5dbd5..e444e38 100644
--- a/app/im/config/litestream.yml
+++ b/app/im/config/litestream.yml
@@ -3,7 +3,7 @@ dbs:
replicas:
- url: s3://synapse-db/homeserver.db
region: garage-staging
- endpoint: https://garage-staging.home.adnab.me
+ endpoint: http://{{ env "attr.unique.network.ip-address" }}:3990
access-key-id: {{ key "secrets/synapse/s3_access_key" | trimSpace }}
secret-access-key: {{ key "secrets/synapse/s3_secret_key" | trimSpace }}
force-path-style: true