sora: init gotify

This commit is contained in:
notohh 2023-09-19 16:02:44 -04:00
parent a34936ab78
commit 9753030805
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 16 additions and 0 deletions

View file

@ -2,5 +2,6 @@
imports = [
./traefik.nix
./uptimekuma.nix
./gotify.nix
];
}

View file

@ -0,0 +1,7 @@
_: {
networking.firewall.allowedTCPPorts = [3000];
services.gotify = {
enable = true;
port = 3000;
};
}

View file

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