commit | f26286875391f13feb9f4d3f5c6dd5cd64b544dc | [log] [tgz] |
---|---|---|
author | Serge Bazanski <q3k@hackerspace.pl> | Sun Mar 26 21:56:09 2023 +0200 |
committer | informatic <informatic@hackerspace.pl> | Tue Mar 28 20:33:26 2023 +0000 |
tree | 5b92c7f61794c4318e750c3c128940530772bb49 | |
parent | 26a7f5bb56c4cf8c9c1b9ae34441a02f7dcc4ac0 [diff] [blame] |
matrix.hackerspace.pl: use external postgres Change-Id: Ie0bb76a4200f905bfd0c065cde81283271f8397a Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1483 Reviewed-by: informatic <informatic@hackerspace.pl>
diff --git a/app/matrix/lib/synapse/homeserver-secrets.yaml b/app/matrix/lib/synapse/homeserver-secrets.yaml index c7af6f3..8670043 100644 --- a/app/matrix/lib/synapse/homeserver-secrets.yaml +++ b/app/matrix/lib/synapse/homeserver-secrets.yaml
@@ -8,11 +8,11 @@ name: "psycopg2" allow_unsafe_locale: true args: - user: "synapse" + user: "$(POSTGRES_USER)" password: "$(POSTGRES_PASSWORD)" - database: "synapse" - host: "waw3-postgres" - port: "5432" + database: "$(POSTGRES_DB)" + host: "$(POSTGRES_HOST)" + port: "$(POSTGRES_PORT)" cp_min: 5 cp_max: 10