Compare commits

...

2 commits

Author SHA1 Message Date
8631895f28
traefik: init neko
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-18 18:28:26 -04:00
f4d7a86aa4
yuki: init neko 2023-09-18 18:27:49 -04:00
3 changed files with 29 additions and 0 deletions

View file

@ -32,9 +32,17 @@
tls.domains = [{main = "*.notohh.dev";}];
tls.certresolver = "production";
};
neko = {
rule = "Host(`neko.notohh.dev`)";
entrypoints = ["websecure"];
service = "neko";
tls.domains = [{main = "neko.notohh.dev";}];
tls.certresolver = "production";
};
};
services = {
uptime-kuma.loadBalancer.servers = [{url = "http://100.87.54.48:4000";}];
neko.loadBalancer.servers = [{url = "http://100.110.140.130:8080";}];
};
};
};

View file

@ -7,5 +7,6 @@
./homarr.nix
./dashdot.nix
./jellyfin.nix
./neko.nix
];
}

View file

@ -0,0 +1,20 @@
_: {
networking.firewall.allowedTCPPorts = [8080];
networking.firewall.allowedUDPPorts = [52000 52100];
virtualisation.oci-containers.containers.neko = {
image = "m1k1o/neko:firefox";
ports = [
"8080:8080"
"52000-52100:52000-52100/udp"
];
environment = {
NEKO_SCREEN = "1920x1080@60";
NEKO_PASSWORD = "forsen";
NEKO_EPR = "52000-52100";
NEKO_NAT1TO1 = "100.110.140.130";
NEKO_BIND = "0.0.0.0:8080";
NEKO_CONTROL_PROTECTION = "true";
NEKO_VIDEO_CODEC = "h264";
};
};
}