Merge pull request #209678 from K900/upd8n

n8n: 0.209.3 -> 0.210.1, disable telemetry
This commit is contained in:
K900 2023-01-08 15:29:25 +03:00 committed by GitHub
commit 0c9aadc8ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 393 additions and 201 deletions

View file

@ -9,7 +9,6 @@ let
in
{
options.services.n8n = {
enable = mkEnableOption (lib.mdDoc "n8n server");
openFirewall = mkOption {
@ -22,7 +21,7 @@ in
type = format.type;
default = {};
description = lib.mdDoc ''
Configuration for n8n, see <https://docs.n8n.io/reference/configuration.html>
Configuration for n8n, see <https://docs.n8n.io/hosting/environment-variables/configuration-methods/>
for supported values.
'';
};
@ -45,6 +44,10 @@ in
N8N_USER_FOLDER = "/var/lib/n8n";
HOME = "/var/lib/n8n";
N8N_CONFIG_FILES = "${configFile}";
# Don't phone home
N8N_DIAGNOSTICS_ENABLED = "false";
N8N_VERSION_NOTIFICATIONS_ENABLED = "false";
};
serviceConfig = {
Type = "simple";

View file

@ -19,7 +19,7 @@ in
testScript = ''
machine.wait_for_unit("n8n.service")
machine.wait_for_open_port(${toString port})
machine.succeed("curl --fail http://localhost:${toString port}/")
machine.wait_for_console_text("Editor is now accessible via")
machine.succeed("curl --fail -vvv http://localhost:${toString port}/")
'';
})

File diff suppressed because it is too large Load diff