Compare commits
2 commits
6e595b86d7
...
8631895f28
Author | SHA1 | Date | |
---|---|---|---|
8631895f28 | |||
f4d7a86aa4 |
3 changed files with 29 additions and 0 deletions
|
@ -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";}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
./homarr.nix
|
||||
./dashdot.nix
|
||||
./jellyfin.nix
|
||||
./neko.nix
|
||||
];
|
||||
}
|
||||
|
|
20
hosts/yuki/services/neko.nix
Normal file
20
hosts/yuki/services/neko.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue