fix nulls
This commit is contained in:
@@ -37,7 +37,7 @@ in {
|
||||
};
|
||||
overrides = {
|
||||
cmd = [ "server" ];
|
||||
ports = if containerCfg.pubPort && containerCfg.port then [ "${toString containerCfg.pubPort}:${toString containerCfg.port}" ] else [];
|
||||
ports = if containerCfg.pubPort!=null && containerCfg.port!=null then [ "${toString containerCfg.pubPort}:${toString containerCfg.port}" ] else [];
|
||||
volumes = [
|
||||
"${serverCfg.configPath}/authentik/media:/media"
|
||||
"${serverCfg.configPath}/authentik/templates:/templates"
|
||||
|
||||
Reference in New Issue
Block a user