Fix attempt
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ config, lib, serverCfg }:
|
||||
let builder =
|
||||
{ image, secret ? ""
|
||||
, subdomain ? "", ip ? "", port ? 0
|
||||
, extraEnv ? { }, extraLabels ? { }
|
||||
@@ -25,4 +26,5 @@ let base = {
|
||||
"--add-host=host.containers.internal:host-gateway"
|
||||
] ++ lib.optional (ip != "") "--ip=${ip}";
|
||||
};
|
||||
in lib.recursiveUpdate base overrides // { host = "host.containers.internal"; }
|
||||
in lib.recursiveUpdate base overrides;
|
||||
in builder // { host = "host.containers.internal"; }
|
||||
Reference in New Issue
Block a user