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-07-04 14:45:02 +0200
commit2bcff6fa6d2b1f14e2c31b5877892d9bb7e4471c (patch)
treee57edf85583ac061e954b0169d2ae553b2ec2f74
parentDesktop update (diff)
downloadRory-Open-Architecture-2bcff6fa6d2b1f14e2c31b5877892d9bb7e4471c.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;