Fix builder
This commit is contained in:
1 parent
3caf507905
commit
1f2cc94a0a
3 files changed
+15
-11
No files matched your search
@@ -1,5 +1,6 @@
|
||||
{ config, lib, serverCfg }:
|
||||
let builder =
|
||||
let
|
||||
builder =
|
||||
{ image, secret ? ""
|
||||
, subdomain ? "", ip ? "", port ? 0
|
||||
, extraEnv ? { }, extraLabels ? { }
|
||||
@@ -27,4 +28,7 @@ let builder =
|
||||
] ++ lib.optional (ip != "") "--ip=${ip}";
|
||||
};
|
||||
in lib.recursiveUpdate base overrides;
|
||||
in builder // { host = "host.containers.internal"; }
|
||||
in {
|
||||
mkContainer = builder;
|
||||
host = "host.containers.internal";
|
||||
}
|
||||
Reference in new issue
Block a user