summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-19 09:08:34 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-19 09:08:34 +0100
commit0c0c82c11d9ae37df77ced6be92547346af23ce7 (patch)
treec62a3ff7f46f5e8e2a2198b1dcf00c22335f7178
parentForgot to comment out 2 lines in synapse (diff)
downloadRory-Open-Architecture-0c0c82c11d9ae37df77ced6be92547346af23ce7.tar.xz
Fix postgres and synapse
-rwxr-xr-xhost/Rory-postgres/configuration.nix3
-rwxr-xr-xhost/Rory-synapse/configuration.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/host/Rory-postgres/configuration.nix b/host/Rory-postgres/configuration.nix
index 33338c3..fef0296 100755
--- a/host/Rory-postgres/configuration.nix
+++ b/host/Rory-postgres/configuration.nix
@@ -29,7 +29,8 @@
       local all all trust
       host all all 127.0.0.1/32 trust
       host all all ::1/128 trust
-      host discordbots discordbots 192.168.1.1/24 trust
+      host discordbots discordbots 192.168.1.50/32 trust
+      host matrix-synapse-rory-gay matrix-synapse-rory-gay 192.168.1.5/32 trust
       host all all 0.0.0.0/0 md5
     '';
     # initialScript = pkgs.writeText "backend-initScript" ''
diff --git a/host/Rory-synapse/configuration.nix b/host/Rory-synapse/configuration.nix
index c44d034..2632d93 100755
--- a/host/Rory-synapse/configuration.nix
+++ b/host/Rory-synapse/configuration.nix
@@ -127,7 +127,7 @@
         args = {
           user = "postgres";
           #passwordFile = "/run/secrets/matrix-synapse-password";
-
+          password = "somepassword";
           database = "matrix-synapse-rory-gay";
           host = "192.168.1.3";
         };