ADD jellyfin service and open port in firewall
ADD kuma script docker image
This commit is contained in:
parent
a63163e2f2
commit
ce000c0738
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue