feat(thor): add changedetection.io
This commit is contained in:
parent
5b3cb422e0
commit
ee550f58b7
2 changed files with 30 additions and 1 deletions
25
modules/servers/thor/changedetection-io.nix
Normal file
25
modules/servers/thor/changedetection-io.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{...}: {
|
||||||
|
services.changedetection-io = {
|
||||||
|
enable = true;
|
||||||
|
playwrightSupport = true;
|
||||||
|
baseURL = "https://changedetection.cronyakatsuki.xyz";
|
||||||
|
behindProxy = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.traefik.dynamicConfigOptions.http = {
|
||||||
|
services.changedetection.loadBalancer.servers = [
|
||||||
|
{
|
||||||
|
url = "http://localhost:5000";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
routers.changedetection = {
|
||||||
|
rule = "Host(`changedetection.cronyakatsuki.xyz`)";
|
||||||
|
tls = {
|
||||||
|
certResolver = "porkbun";
|
||||||
|
};
|
||||||
|
service = "changedetection";
|
||||||
|
entrypoints = "websecure";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1 +1,5 @@
|
||||||
{...}: {}
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./changedetection-io.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue