From a33318c725de4e98acfef8062edaa741abe5efce Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 24 Apr 2024 15:07:40 +0200 Subject: [PATCH] dendrite: Use alternate syntax for connection string --- machines/neo/dendrite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/neo/dendrite/default.nix b/machines/neo/dendrite/default.nix index 5306381..2ef072a 100644 --- a/machines/neo/dendrite/default.nix +++ b/machines/neo/dendrite/default.nix @@ -21,7 +21,7 @@ let private_key = "$$CREDENTIALS_DIRECTORY/private_key"; database = { - connection_string = "postgresql://%2Frun%2Fpostgresql/dendrite"; + connection_string = "postgresql:///dendrite?host=/run/postgresql"; max_open_conns = 100; max_idle_conns = 5; conn_max_lifetime = -1;