commit b7004b3b81fca60d1b9671c432108efcda2d4e4b parent cc815c0349ecc1d996950266ca2b22fc21e06260 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 1 Sep 2023 18:32:44 +0200 Try to up unicorn workers Diffstat:
| M | nixos/worker-1/configuration.nix | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -47,6 +47,15 @@ withOpus = true; }; + discourse = { + runtimeEnv = { + HOME = "/run/discourse/home"; + RAILS_ENV = "production"; + UNICORN_LISTENER = "/run/discourse/sockets/unicorn.sock"; + UNICORN_WORKERS = 6; + }; + }; + permittedInsecurePackages = [ "nodejs-16.20.2" ];