summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-05-07 18:57:57 +0200
committerRory& <root@rory.gay>2024-05-07 18:57:57 +0200
commite185e7990c124448ffc9fb14a55f7024fc49e09b (patch)
treee780807e7ac30c5b67bda9bb03440e542fa582af
parent2 db connections per federation sender (diff)
downloadRory-Open-Architecture-e185e7990c124448ffc9fb14a55f7024fc49e09b.tar.xz
Apparently it doesnt merge...
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix
index 043b8b3..3edc87b 100755
--- a/host/Rory-nginx/services/matrix/synapse.nix
+++ b/host/Rory-nginx/services/matrix/synapse.nix
@@ -245,7 +245,12 @@ in
         worker_app = "synapse.app.generic_worker";
         worker_listeners = [ ];
         database = {
+          name = "psycopg2";
           args = {
+            user = "matrix-synapse-rory-gay";
+            password = "somepassword";
+            database = "matrix-synapse-rory-gay";
+            host = "127.0.0.1";
             application_name = "matrix-synapse (rory.gay) - federation sender ${toString port}";
             cp_min = 2;
             cp_max = 2;