Closed firewall port. Fixed middlewares not defined error.

This commit is contained in:
Raphaël Numbus
2026-02-27 16:03:59 +01:00
parent bf753471ba
commit 42f463152f
5 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
networking.firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 53 80 443 2283 ];
allowedTCPPorts = [ 53 80 443 ];
allowedUDPPorts = [ 53 443 ];
};
};
View File
+1 -1
View File
@@ -12,7 +12,7 @@ with lib;
reverseProxied ? true,
composeText,
scheme ? "http",
middlewares,
middlewares ? null,
dependencies ? [ "traefik.service" "${config.numbus.services.dns}.service" ],
extraOptions ? {},
extraConfig ? {},
+2 -1
View File
@@ -210,6 +210,7 @@ helper.mkPodmanService {
onFailure = [ "service-failure-notify@%n.service" ];
startLimitBurst = 5;
startLimitIntervalSec = 600;
TimeoutStartSec = "2000";
path = [ pkgs.coreutils pkgs.sudo pkgs.podman ];
serviceConfig = {
Type = "oneshot";
@@ -224,8 +225,8 @@ helper.mkPodmanService {
sleep 15
done
source /var/lib/numbus-server/${name}/.env
sleep 300
sudo -u numbus-admin podman exec --user www-data nextcloud-server php occ background:cron
sudo -u numbus-admin podman exec --user www-data nextcloud-server php -f /var/www/html/cron.php
sudo -u numbus-admin podman exec --user www-data nextcloud-server php occ db:add-missing-indices
View File