containers: make all host ports configurable
This commit is contained in:
parent
f2c59bd79b
commit
4c66c73024
4 changed files with 23 additions and 7 deletions
|
@ -2,7 +2,9 @@
|
|||
|
||||
let
|
||||
|
||||
in args // {
|
||||
in
|
||||
{ httpsPort ? 443
|
||||
}: args // {
|
||||
config = { config, pkgs, ... }: {
|
||||
imports = [
|
||||
../profiles/containers/configuration.nix
|
||||
|
@ -89,7 +91,7 @@ in args // {
|
|||
{
|
||||
# https
|
||||
containerPort = 443;
|
||||
hostPort = 443;
|
||||
hostPort = httpsPort;
|
||||
protocol = "tcp";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue