+ntfy
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./gitea.nix
|
||||
./n8n.nix
|
||||
./ntfy.nix
|
||||
./outline.nix
|
||||
./postgres.nix
|
||||
./traefik.nix
|
||||
|
||||
29
hosts/AZ-CLD-1/services/ntfy.nix
Normal file
29
hosts/AZ-CLD-1/services/ntfy.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{config, ...}: {
|
||||
services.ntfy-sh = {
|
||||
enable = true;
|
||||
settings.base-url = "https://ping.az-gruppe.com";
|
||||
settings = {
|
||||
listen-http = ":3033";
|
||||
auth-file = "/var/lib/ntfy-sh/user.db";
|
||||
auth-default-access = "deny-all";
|
||||
};
|
||||
};
|
||||
|
||||
# Traefik configuration specific to littlelink
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.ntfy-sh.loadBalancer.servers = [
|
||||
{
|
||||
url = "http://localhost:3033/";
|
||||
}
|
||||
];
|
||||
|
||||
routers.ntfy-sh = {
|
||||
rule = "Host(`ping.az-gruppe.com`)";
|
||||
tls = {
|
||||
certResolver = "ionos";
|
||||
};
|
||||
service = "ntfy-sh";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user