sora: init gotify
This commit is contained in:
parent
a34936ab78
commit
9753030805
3 changed files with 16 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
|||
imports = [
|
||||
./traefik.nix
|
||||
./uptimekuma.nix
|
||||
./gotify.nix
|
||||
];
|
||||
}
|
||||
|
|
7
hosts/sora/services/gotify.nix
Normal file
7
hosts/sora/services/gotify.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
networking.firewall.allowedTCPPorts = [3000];
|
||||
services.gotify = {
|
||||
enable = true;
|
||||
port = 3000;
|
||||
};
|
||||
}
|
|
@ -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";}];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue