2023-06-12 00:46:43 -04:00
|
|
|
_: {
|
2023-06-13 12:11:08 -04:00
|
|
|
networking.firewall.allowedTCPPorts = [80 443];
|
2023-06-11 18:24:13 -04:00
|
|
|
services.traefik = {
|
|
|
|
enable = true;
|
|
|
|
dynamicConfigOptions = {
|
|
|
|
http = {
|
|
|
|
routers = {
|
|
|
|
api = {
|
|
|
|
rule = "PathPrefix(`/api/`)";
|
|
|
|
entryPoints = ["websecure"];
|
|
|
|
service = "api@internal";
|
|
|
|
};
|
2023-06-14 03:58:30 -04:00
|
|
|
homarr = {
|
|
|
|
rule = "Host(`dashboard.home.arpa`)";
|
|
|
|
entrypoints = ["web"];
|
|
|
|
service = "homarr";
|
|
|
|
};
|
|
|
|
searxng = {
|
|
|
|
rule = "Host(`searxng.home.arpa`)";
|
|
|
|
entryPoints = ["web"];
|
|
|
|
service = "searxng";
|
|
|
|
};
|
2023-06-13 12:11:08 -04:00
|
|
|
stash = {
|
|
|
|
rule = "Host(`stash.home.arpa`)";
|
|
|
|
entrypoints = ["web"];
|
|
|
|
service = "stash";
|
|
|
|
};
|
2023-06-14 02:59:32 -04:00
|
|
|
dashdot = {
|
|
|
|
rule = "Host(`dashdot.yuki.home.arpa`)";
|
|
|
|
entrypoints = ["web"];
|
|
|
|
service = "dashdot";
|
|
|
|
};
|
2023-09-17 14:06:53 -04:00
|
|
|
jellyfin = {
|
|
|
|
rule = "Host(`jellyfin.home.arpa`)";
|
|
|
|
entrypoints = ["web"];
|
|
|
|
service = "jellyfin";
|
|
|
|
};
|
|
|
|
jellyseerr = {
|
|
|
|
rule = "Host(`jellyseerr.home.arpa`)";
|
|
|
|
entrypoints = ["web"];
|
|
|
|
service = "jellyseerr";
|
|
|
|
};
|
2023-09-28 17:05:52 -04:00
|
|
|
vikunja-frontend = {
|
|
|
|
rule = "Host(`vikunja.home.arpa`)";
|
|
|
|
entrypoints = ["web"];
|
|
|
|
service = "vikunja-frontend";
|
|
|
|
};
|
2023-06-11 18:24:13 -04:00
|
|
|
};
|
|
|
|
services = {
|
2023-06-13 12:11:08 -04:00
|
|
|
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
2023-06-14 02:59:32 -04:00
|
|
|
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
|
|
|
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
2023-06-14 03:58:30 -04:00
|
|
|
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
2023-09-17 14:06:53 -04:00
|
|
|
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
|
|
|
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
2023-09-28 17:05:52 -04:00
|
|
|
vikunja-frontend.loadBalancer.servers = [{url = "http://localhost:6789";}];
|
2023-06-11 18:24:13 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
staticConfigOptions = {
|
|
|
|
log.level = "DEBUG";
|
|
|
|
api.dashboard = false;
|
|
|
|
api.insecure = false;
|
|
|
|
global = {
|
|
|
|
checkNewVersion = false;
|
|
|
|
sendAnonymousUsage = false;
|
|
|
|
};
|
|
|
|
entryPoints = {
|
2023-06-14 02:59:32 -04:00
|
|
|
websecure = {
|
|
|
|
address = ":443";
|
|
|
|
forwardedHeaders.insecure = true;
|
|
|
|
};
|
|
|
|
web = {
|
|
|
|
address = ":80";
|
|
|
|
forwardedHeaders.insecure = true;
|
|
|
|
};
|
2023-06-11 18:24:13 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|