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 = {
image = "louislam/uptime-kuma";
autoStart = true;
ports = [ "3001:3001" ]; #server locahost : docker localhost
ports = [ "5001:3001" ]; #server locahost : docker localhost
volumes = [
"/srv/docker/app/data:/app/data"
"/srv/docker/uptime-kuma:/app/data"
];
};
};

View File

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

View File

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

View File

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