fix fw
This commit is contained in:
@@ -22,8 +22,8 @@ in
|
|||||||
|
|
||||||
# Open firewall for authentik if enabled
|
# Open firewall for authentik if enabled
|
||||||
networking.firewall = mkIf cfg.openFirewall {
|
networking.firewall = mkIf cfg.openFirewall {
|
||||||
allowedTCPPorts = [ cfg.port ];
|
allowedTCPPorts = [ cfg.port 4822 ];
|
||||||
allowedUDPPorts = [ cfg.port ];
|
allowedUDPPorts = [ cfg.port 4822 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ensure PostgreSQL is configured for authentik
|
# Ensure PostgreSQL is configured for authentik
|
||||||
@@ -49,7 +49,7 @@ in
|
|||||||
image = "ghcr.io/goauthentik/rac";
|
image = "ghcr.io/goauthentik/rac";
|
||||||
ports = [ "4822:4822" ];
|
ports = [ "4822:4822" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/media/nas/main/nix-app-data/authenic-rac:/media"
|
"/media/nas/main/nix-app-data/authentik-rac:/media"
|
||||||
];
|
];
|
||||||
# environmentFiles = [
|
# environmentFiles = [
|
||||||
# "/media/nas/main/nix-app-data/lubelogger/lubelogger.env"
|
# "/media/nas/main/nix-app-data/lubelogger/lubelogger.env"
|
||||||
@@ -63,11 +63,5 @@ in
|
|||||||
TZ = "America/Chicago";
|
TZ = "America/Chicago";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open firewall for lubelogger if enabled
|
|
||||||
networking.firewall = mkIf cfg.openFirewall {
|
|
||||||
allowedTCPPorts = [ 4822 ];
|
|
||||||
allowedUDPPorts = [ 4822 ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user