From 0c0c82c11d9ae37df77ced6be92547346af23ce7 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 19 Mar 2023 09:08:34 +0100 Subject: Fix postgres and synapse --- host/Rory-postgres/configuration.nix | 3 ++- host/Rory-synapse/configuration.nix | 2 +- 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"; }; -- cgit 1.4.1