ADD jellyfin service and open port in firewall

ADD kuma script docker image
This commit is contained in:
Alexandre LUCAZEAU 2023-04-14 13:24:04 +00:00
parent a63163e2f2
commit ce000c0738
4 changed files with 5 additions and 4 deletions

View File

@ -13,9 +13,9 @@ in
containers.uptime-kuma = { containers.uptime-kuma = {
image = "louislam/uptime-kuma"; image = "louislam/uptime-kuma";
autoStart = true; autoStart = true;
ports = [ "3001:3001" ]; #server locahost : docker localhost ports = [ "5001:3001" ]; #server locahost : docker localhost
volumes = [ volumes = [
"/srv/docker/app/data:/app/data" "/srv/docker/uptime-kuma:/app/data"
]; ];
}; };
}; };

View File

@ -8,8 +8,8 @@
../modules/prometheus-node.nix ../modules/prometheus-node.nix
../modules/common.nix ../modules/common.nix
../modules/users.nix ../modules/users.nix
../docker/whoogle.nix
../docker/appsmith.nix ../docker/appsmith.nix
../docker/kuma.nix
]; ];
system.stateVersion = "21.11"; system.stateVersion = "21.11";

View File

@ -4,7 +4,7 @@
networking.firewall = { networking.firewall = {
allowPing = true; allowPing = true;
# allowed TCP range # allowed TCP range
allowedTCPPorts = [ 22 80 443 9002 2021]; allowedTCPPorts = [ 22 80 443 9002 2021 8096 8920];
}; };
services.fail2ban = { services.fail2ban = {
enable = true; enable = true;

View File

@ -53,4 +53,5 @@ in
}; };
users.groups.caddy.gid = config.ids.uids.caddy; users.groups.caddy.gid = config.ids.uids.caddy;
services.jellyfin.enable = true;
} }