Update
This commit is contained in:
@@ -3,7 +3,7 @@ let
|
||||
builder =
|
||||
{ image, secret ? ""
|
||||
, subdomain ? "", ip ? "", port ? 0
|
||||
, extraEnv ? { }, extraLabels ? { }
|
||||
, extraEnv ? { }, extraLabels ? { }, extraOptions ? [ ]
|
||||
, overrides ? { }
|
||||
}:
|
||||
let base = {
|
||||
@@ -23,7 +23,7 @@ let
|
||||
"traefik.enable" = "false";
|
||||
} // extraLabels;
|
||||
|
||||
extraOptions = [
|
||||
extraOptions = extraOptions ++ [
|
||||
"--add-host=host.containers.internal:host-gateway"
|
||||
] ++ lib.optional (ip != "") "--ip=${ip}";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user