yuki: update homepage && traefik

This commit is contained in:
notohh 2025-03-13 03:44:29 -04:00
parent 246ea2c337
commit 7c41f50433
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 40 additions and 47 deletions
hosts/yuki/services

View file

@ -144,6 +144,17 @@ _: {
}; };
}; };
} }
{
"Tailscale" = {
icon = "tailscale";
href = "https://login.tailscale.com/admin/machines";
widget = {
type = "tailscale";
deviceid = "{{HOMEPAGE_VAR_TAILSCALE_DEVICE_ID}}";
key = "{{HOMEPAGE_VAR_TAILSCALE_KEY}}";
};
};
}
{ {
"Blocky" = { "Blocky" = {
icon = "blocky"; icon = "blocky";
@ -158,11 +169,21 @@ _: {
"Grafana" = { "Grafana" = {
icon = "grafana"; icon = "grafana";
href = "https://metrics.flake.sh"; href = "https://metrics.flake.sh";
widget = {
type = "grafana";
url = "https://metrics.flake.sh";
username = "{{HOMEPAGE_VAR_GRAFANA_USER}}";
password = "{{HOMEPAGE_VAR_GRAFANA_PWD}}";
};
}; };
} }
{ {
"Prometheus" = { "Prometheus" = {
icon = "prometheus"; icon = "prometheus";
widget = {
type = "prometheus";
url = "http://100.104.42.96:9090";
};
}; };
} }
{ {
@ -258,24 +279,26 @@ _: {
}; };
} }
{ {
"SABnzbd" = { "Stash" = {
icon = "sabnzbd"; icon = "stash";
href = "http://192.168.1.54:9292/sabnzbd/"; href = "https://stash.internal.flake.sh";
widget = { widget = {
type = "sabnzbd"; type = "stash";
url = "http://192.168.1.54:9292"; url = "https://stash.internal.flake.sh";
key = "{{HOMEPAGE_VAR_SABNZBD_KEY}}"; key = "{{HOMEPAGE_VAR_STASH_KEY}}";
fields = ["scenes" "sceneSize" "performers"];
}; };
}; };
} }
{ {
"immich" = { "Immich" = {
icon = "immich"; icon = "immich";
href = "https://immich.internal.flake.sh"; href = "https://immich.internal.flake.sh";
widget = { widget = {
type = "immich"; type = "immich";
url = "http://192.168.1.98:2283"; url = "https://immich.internal.flake.sh";
key = "{{HOMEPAGE_VAR_IMMICH_KEY}}"; key = "{{HOMEPAGE_VAR_IMMICH_KEY}}";
version = 2;
}; };
}; };
} }
@ -307,12 +330,6 @@ _: {
href = "https://accounts.hetzner.com/login"; href = "https://accounts.hetzner.com/login";
}; };
} }
{
"Stash" = {
icon = "stash";
href = "https://stash.internal.flake.sh";
};
}
{ {
"Cloudflare" = { "Cloudflare" = {
icon = "cloudflare"; icon = "cloudflare";

View file

@ -93,34 +93,6 @@
tls.domains = [{main = "*.${fqdn}";}]; tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production"; tls.certresolver = "production";
}; };
readarr = {
rule = "Host(`readarr.${fqdn}`)";
entryPoints = ["websecure"];
service = "readarr";
tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production";
};
lidarr = {
rule = "Host(`lidarr.${fqdn}`)";
entryPoints = ["websecure"];
service = "lidarr";
tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production";
};
bazarr = {
rule = "Host(`bazarr.${fqdn}`)";
entryPoints = ["websecure"];
service = "bazarr";
tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production";
};
whisparr = {
rule = "Host(`whisparr.${fqdn}`)";
entryPoints = ["websecure"];
service = "whisparr";
tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production";
};
prowlarr = { prowlarr = {
rule = "Host(`prowlarr.${fqdn}`)"; rule = "Host(`prowlarr.${fqdn}`)";
entrypoints = ["websecure"]; entrypoints = ["websecure"];
@ -149,6 +121,13 @@
tls.domains = [{main = "*.${fqdn}";}]; tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production"; tls.certresolver = "production";
}; };
shoko = {
rule = "Host(`shoko.${fqdn}`)";
entrypoints = ["websecure"];
service = "shoko";
tls.domains = [{main = "*.${fqdn}";}];
tls.certresolver = "production";
};
}; };
services = let services = let
kariruHost = "192.168.1.54:"; kariruHost = "192.168.1.54:";
@ -167,11 +146,8 @@
# kariru # kariru
sonarr.loadBalancer.servers = [{url = "http://${kariruHost}8989";}]; sonarr.loadBalancer.servers = [{url = "http://${kariruHost}8989";}];
radarr.loadBalancer.servers = [{url = "http://${kariruHost}7878";}]; radarr.loadBalancer.servers = [{url = "http://${kariruHost}7878";}];
readarr.loadBalancer.servers = [{url = "http://${kariruHost}8787";}];
lidarr.loadBalancer.servers = [{url = "http://${kariruHost}8686";}];
bazarr.loadBalancer.servers = [{url = "http://${kariruHost}6767";}];
whisparr.loadBalancer.servers = [{url = "http://${kariruHost}6969";}];
prowlarr.loadBalancer.servers = [{url = "http://${kariruHost}9696";}]; prowlarr.loadBalancer.servers = [{url = "http://${kariruHost}9696";}];
shoko.loadBalancer.servers = [{url = "http://${kariruHost}8111";}];
# sakura # sakura
ganymede.loadBalancer.servers = [{url = "http://100.121.201.47:4000";}]; ganymede.loadBalancer.servers = [{url = "http://100.121.201.47:4000";}];
}; };

View file

@ -1,6 +1,6 @@
_: { _: {
virtualisation.oci-containers.containers.wallos = { virtualisation.oci-containers.containers.wallos = {
image = "bellamy/wallos@sha256:9ce55520e7bd3a5518a33f22590b2631b76559faadf1df68e1de4103dc6d60d7"; #v 2.46.0 image = "bellamy/wallos@sha256:34d1a92083bc4da561607d2b83bf58565754efed714bfe28196b6c3c9ba84031"; #v2.46.1
ports = ["8282:80"]; ports = ["8282:80"];
volumes = [ volumes = [
"/home/notoh/docker/wallos/db:/var/www/html/db" "/home/notoh/docker/wallos/db:/var/www/html/db"