set worker log level to debug
This commit is contained in:
parent
05c8508c18
commit
20b1103a6c
1 changed files with 15 additions and 14 deletions
|
|
@ -52,6 +52,21 @@
|
|||
configureNginx = true;
|
||||
# serveCache = true;
|
||||
reportErrors = true; # optional: will send crash reports to us
|
||||
|
||||
worker = {
|
||||
enable = true;
|
||||
serverUrl = "ws://127.0.0.1:3000/proto";
|
||||
workerId = "8f56dd3a-5698-4512-8bf7-ab8dcfaed46c";
|
||||
peersFile = "/run/secrets/gradient-worker-peers";
|
||||
capabilities = {
|
||||
fetch = true;
|
||||
eval = true;
|
||||
build = true;
|
||||
};
|
||||
settings = {
|
||||
logLevel.default = "debug";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nginx.virtualHosts."${config.networking.fqdn}".listen = [
|
||||
|
|
@ -66,21 +81,7 @@
|
|||
proxyProtocol = true;
|
||||
}
|
||||
];
|
||||
|
||||
gradient.worker = {
|
||||
enable = true;
|
||||
serverUrl = "ws://127.0.0.1:3000/proto";
|
||||
workerId = "8f56dd3a-5698-4512-8bf7-ab8dcfaed46c";
|
||||
peersFile = "/run/secrets/gradient-worker-peers";
|
||||
capabilities = {
|
||||
fetch = true;
|
||||
eval = true;
|
||||
build = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue