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-07-04 14:45:02 +0200
commit89bb56e634ba2329cf26fe255b349e02ba8e38fd (patch)
treee780807e7ac30c5b67bda9bb03440e542fa582af
parent2 db connections per federation sender (diff)
downloadRory-Open-Architecture-89bb56e634ba2329cf26fe255b349e02ba8e38fd.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;