summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-06-27 08:49:45 +0200
committerRory& <root@rory.gay>2024-06-27 08:59:55 +0200
commitfbe0460a2f0a0ae27ad9a15a88bea3a57e22a974 (patch)
treee57edf85583ac061e954b0169d2ae553b2ec2f74
parentDesktop update (diff)
downloadRory-Open-Architecture-fbe0460a2f0a0ae27ad9a15a88bea3a57e22a974.tar.xz
Use postgres sockets for synapse
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix6
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;