diff options
author | Rory& <root@rory.gay> | 2024-06-27 08:49:45 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-27 08:59:55 +0200 |
commit | fbe0460a2f0a0ae27ad9a15a88bea3a57e22a974 (patch) | |
tree | e57edf85583ac061e954b0169d2ae553b2ec2f74 | |
parent | Desktop update (diff) | |
download | Rory-Open-Architecture-fbe0460a2f0a0ae27ad9a15a88bea3a57e22a974.tar.xz |
Use postgres sockets for synapse
-rwxr-xr-x | host/Rory-nginx/services/matrix/synapse.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix index ce8a476..d49e70e 100755 --- a/host/Rory-nginx/services/matrix/synapse.nix +++ b/host/Rory-nginx/services/matrix/synapse.nix @@ -99,7 +99,8 @@ in #passwordFile = "/run/secrets/matrix-synapse-password"; password = "somepassword"; database = "matrix-synapse-rory-gay"; - host = "127.0.0.1"; + #host = "127.0.0.1"; + host = "/run/postgresql"; application_name = "matrix-synapse (rory.gay)"; cp_min = 5; cp_max = 10; @@ -260,7 +261,8 @@ in user = "matrix-synapse-rory-gay"; password = "somepassword"; database = "matrix-synapse-rory-gay"; - host = "127.0.0.1"; + #host = "127.0.0.1"; + host = "/run/postgresql"; application_name = "matrix-synapse (rory.gay) - federation sender ${toString port}"; cp_min = 2; cp_max = 2; |