From 2bcff6fa6d2b1f14e2c31b5877892d9bb7e4471c Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 27 Jun 2024 08:49:45 +0200 Subject: Use postgres sockets for synapse --- host/Rory-nginx/services/matrix/synapse.nix | 6 ++++-- 1 file 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; -- cgit 1.4.1