aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix/config/synapse
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-04 16:48:22 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-04 16:48:22 +0200
commite375304c388948efcb8cfcb45d8a8288a635a766 (patch)
tree90f2e0723c8fa785d0a5612994de3765e204a533 /cluster/prod/app/matrix/config/synapse
parentf3cd2e98b4bd26294464c5152b7082fc8a6b9ff2 (diff)
downloadnixcfg-e375304c388948efcb8cfcb45d8a8288a635a766.tar.gz
nixcfg-e375304c388948efcb8cfcb45d8a8288a635a766.zip
orient SoGo and Synapse to closest psql-proxy; psql backup anywhere
Diffstat (limited to 'cluster/prod/app/matrix/config/synapse')
-rw-r--r--cluster/prod/app/matrix/config/synapse/homeserver.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster/prod/app/matrix/config/synapse/homeserver.yaml b/cluster/prod/app/matrix/config/synapse/homeserver.yaml
index aac8709..ecdf1cd 100644
--- a/cluster/prod/app/matrix/config/synapse/homeserver.yaml
+++ b/cluster/prod/app/matrix/config/synapse/homeserver.yaml
@@ -61,7 +61,7 @@ database:
user: {{ key "secrets/chat/synapse/postgres_user" | trimSpace }}
password: {{ key "secrets/chat/synapse/postgres_pwd" | trimSpace }}
database: {{ key "secrets/chat/synapse/postgres_db" | trimSpace }}
- host: psql-proxy.service.prod.consul
+ host: {{ env "meta.site" }}.psql-proxy.service.prod.consul
port: 5432
cp_min: 5
cp_max: 10