containers: make all host ports configurable

This commit is contained in:
steveej 2020-09-14 19:38:36 +02:00
parent f2c59bd79b
commit 4c66c73024
4 changed files with 23 additions and 7 deletions

View file

@ -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";
}
];