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