diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-19 14:24:44 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-19 14:24:44 +0100 |
commit | 3c12cf646373cb66c3eb0a9b0dbb3f12534dd69a (patch) | |
tree | 2e6e931faef312bf6e6cdbef33f2944a8a5cde2d /app/im/config | |
parent | b5ec581bc8404ff993910e4ba28df564b0e15c02 (diff) | |
download | nixcfg-3c12cf646373cb66c3eb0a9b0dbb3f12534dd69a.tar.gz nixcfg-3c12cf646373cb66c3eb0a9b0dbb3f12534dd69a.zip |
im: directly call Garage on local node when possible
Diffstat (limited to 'app/im/config')
-rw-r--r-- | app/im/config/homeserver.yaml | 2 | ||||
-rw-r--r-- | app/im/config/litestream.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/im/config/homeserver.yaml b/app/im/config/homeserver.yaml index 4a7e862..38db527 100644 --- a/app/im/config/homeserver.yaml +++ b/app/im/config/homeserver.yaml @@ -956,7 +956,7 @@ media_storage_providers: # All of the below options are optional, for use with non-AWS S3-like # services, or to specify access tokens here instead of some external method. region_name: garage-staging - endpoint_url: https://garage-staging.home.adnab.me + endpoint_url: 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 }} 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 |