From 2884ced8a3a7d7720c09a0d6be14d392fc296bd1 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 19 Jun 2022 21:21:15 +0100 Subject: [PATCH] bvm-paperless: fix DBHOST to use unix sockets again --- ops/nixos/bvm-paperless/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/nixos/bvm-paperless/default.nix b/ops/nixos/bvm-paperless/default.nix index 99e7d56234..5203004e7a 100644 --- a/ops/nixos/bvm-paperless/default.nix +++ b/ops/nixos/bvm-paperless/default.nix @@ -28,7 +28,7 @@ in { PAPERLESS_ALLOWED_HOSTS = "paperless.int.lukegb.com,bvm-paperless.int.as205479.net:28981,bvm-paperless.int.as205479.net"; PAPERLESS_CORS_ALLOWED_HOSTS = "https://paperless.int.lukegb.com,http://bvm-paperless.int.as205479.net:28981"; PAPERLESS_ENABLE_HTTP_REMOTE_USER = "true"; - PAPERLESS_DBHOST = "localhost"; + PAPERLESS_DBHOST = "/run/postgresql"; PAPERLESS_DBPASS = ""; }; };