hosts: searxng -> yuki, remove homepage, init dashdot / homarr

This commit is contained in:
notohh 2023-06-14 02:59:32 -04:00
parent 09f17993ab
commit 7abcbd68ee
Signed by: notohh
GPG key ID: BD47506D475EE86D
9 changed files with 73 additions and 29 deletions

View file

@ -0,0 +1,14 @@
{...}: {
virtualisation.oci-containers.containers.dashdot = {
image = "mauricenino/dashdot";
ports = [
"4000:3001"
];
volumes = [
"/home/notoh/docker/dashdot:/mnt/host:ro"
];
environment = {
DASHDOT_ENABLE_CPU_TEMPS = "true";
};
};
}

View file

@ -1,8 +1,6 @@
{...}: { {...}: {
imports = [ imports = [
./traefik.nix ./traefik.nix
./homepage.nix
./searxng.nix
./hugo.nix ./hugo.nix
./foundryvtt.nix ./foundryvtt.nix
./forgejo.nix ./forgejo.nix
@ -12,5 +10,7 @@
./prometheus.nix ./prometheus.nix
./woodpecker.nix ./woodpecker.nix
./atticd.nix ./atticd.nix
./hedgedoc.nix
./dashdot.nix
]; ];
} }

View file

@ -1,12 +0,0 @@
_: {
virtualisation.oci-containers.containers.homepage = {
image = "ghcr.io/benphelps/homepage:v0.6.21";
volumes = [
"/home/notoh/docker/homepage:/app/config"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
ports = [
"3005:3000"
];
};
}

View file

@ -19,21 +19,16 @@
entryPoints = ["websecure"]; entryPoints = ["websecure"];
service = "api@internal"; service = "api@internal";
}; };
homepage = {
rule = "Host(`dashboard.home.arpa`)";
entrypoints = ["web"];
service = "homepage";
};
searxng = {
rule = "Host(`searxng.home.arpa`)";
entrypoints = ["web"];
service = "searxng";
};
jellyfin = { jellyfin = {
rule = "Host(`jellyfin.home.arpa`)"; rule = "Host(`jellyfin.home.arpa`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "jellyfin"; service = "jellyfin";
}; };
dashdot = {
rule = "Host(`dashdot.sakura.home.arpa`)";
entrypoints = ["web"];
service = "dashdot";
};
hugo = { hugo = {
rule = "Host(`notohh.dev`)"; rule = "Host(`notohh.dev`)";
entryPoints = ["websecure"]; entryPoints = ["websecure"];
@ -92,10 +87,9 @@
}; };
}; };
services = { services = {
homepage.loadBalancer.servers = [{url = "http://localhost:3005";}];
searxng.loadBalancer.servers = [{url = "http://localhost:8085";}];
hugo.loadBalancer.servers = [{url = "http://localhost:1313";}]; hugo.loadBalancer.servers = [{url = "http://localhost:1313";}];
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}]; jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}]; foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}];
gitea.loadBalancer.servers = [{url = "http://localhost:3200";}]; gitea.loadBalancer.servers = [{url = "http://localhost:3200";}];
rustypaste.loadBalancer.servers = [{url = "http://localhost:8000";}]; rustypaste.loadBalancer.servers = [{url = "http://localhost:8000";}];
@ -120,6 +114,7 @@
}; };
web = { web = {
address = ":80"; address = ":80";
forwardedHeaders.insecure = true;
}; };
}; };
certificatesResolvers = { certificatesResolvers = {

View file

@ -0,0 +1,14 @@
{...}: {
virtualisation.oci-containers.containers.dashdot = {
image = "mauricenino/dashdot";
ports = [
"4000:3001"
];
volumes = [
"/home/notoh/docker/dashdot:/mnt/host:ro"
];
environment = {
DASHDOT_ENABLE_CPU_TEMPS = "true";
};
};
}

View file

@ -4,5 +4,8 @@
./traefik.nix ./traefik.nix
./kanboard.nix ./kanboard.nix
./stash.nix ./stash.nix
./searxng.nix
./homarr.nix
./dashdot.nix
]; ];
} }

View file

@ -0,0 +1,12 @@
{...}: {
virtualisation.oci-containers.containers.homarr = {
image = "ghcr.io/ajnart/homarr:0.12.3";
ports = [
"7575:7575"
];
volumes = [
"/home/notohh/docker/homarr/configs:/app/data/configs"
"/home/notohh/docker/homarr/icons:/app/public/icons"
];
};
}

View file

@ -8,7 +8,7 @@ _: {
INSTANCE_NAME = "SearXNG"; INSTANCE_NAME = "SearXNG";
}; };
ports = [ ports = [
"8085:8080" "8100:8080"
]; ];
}; };
} }

View file

@ -20,10 +20,22 @@ _: {
entrypoints = ["web"]; entrypoints = ["web"];
service = "stash"; service = "stash";
}; };
homarr = {
rule = "Host(`dashboard.home.arpa`)";
entrypoints = ["web"];
service = "homarr";
};
dashdot = {
rule = "Host(`dashdot.yuki.home.arpa`)";
entrypoints = ["web"];
service = "dashdot";
};
}; };
services = { services = {
kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}]; kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}];
stash.loadBalancer.servers = [{url = "http://localhost:9999";}]; stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
}; };
}; };
}; };
@ -36,8 +48,14 @@ _: {
sendAnonymousUsage = false; sendAnonymousUsage = false;
}; };
entryPoints = { entryPoints = {
websecure.address = ":443"; websecure = {
web.address = ":80"; address = ":443";
forwardedHeaders.insecure = true;
};
web = {
address = ":80";
forwardedHeaders.insecure = true;
};
}; };
}; };
}; };