Env vars need string values
This commit is contained in:
parent
e64fa22de6
commit
d57f586fc9
|
@ -62,8 +62,8 @@ in {
|
||||||
extraOptions = [ "--gpus=all" ];
|
extraOptions = [ "--gpus=all" ];
|
||||||
environment = {
|
environment = {
|
||||||
IMMICH_METRICS = "true";
|
IMMICH_METRICS = "true";
|
||||||
MACHINE_LEARNING_WORKERS = cfg.workers;
|
MACHINE_LEARNING_WORKERS = toString cfg.workers;
|
||||||
MACHINE_LEARNING_REQUEST_THREADS = cfg.threads;
|
MACHINE_LEARNING_REQUEST_THREADS = toString cfg.threads;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue