hosts: searxng -> yuki, remove homepage, init dashdot / homarr
This commit is contained in:
parent
09f17993ab
commit
7abcbd68ee
9 changed files with 73 additions and 29 deletions
14
hosts/sakura/services/dashdot.nix
Normal file
14
hosts/sakura/services/dashdot.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./traefik.nix
|
||||
./homepage.nix
|
||||
./searxng.nix
|
||||
./hugo.nix
|
||||
./foundryvtt.nix
|
||||
./forgejo.nix
|
||||
|
@ -12,5 +10,7 @@
|
|||
./prometheus.nix
|
||||
./woodpecker.nix
|
||||
./atticd.nix
|
||||
./hedgedoc.nix
|
||||
./dashdot.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -19,21 +19,16 @@
|
|||
entryPoints = ["websecure"];
|
||||
service = "api@internal";
|
||||
};
|
||||
homepage = {
|
||||
rule = "Host(`dashboard.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "homepage";
|
||||
};
|
||||
searxng = {
|
||||
rule = "Host(`searxng.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "searxng";
|
||||
};
|
||||
jellyfin = {
|
||||
rule = "Host(`jellyfin.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "jellyfin";
|
||||
};
|
||||
dashdot = {
|
||||
rule = "Host(`dashdot.sakura.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "dashdot";
|
||||
};
|
||||
hugo = {
|
||||
rule = "Host(`notohh.dev`)";
|
||||
entryPoints = ["websecure"];
|
||||
|
@ -92,10 +87,9 @@
|
|||
};
|
||||
};
|
||||
services = {
|
||||
homepage.loadBalancer.servers = [{url = "http://localhost:3005";}];
|
||||
searxng.loadBalancer.servers = [{url = "http://localhost:8085";}];
|
||||
hugo.loadBalancer.servers = [{url = "http://localhost:1313";}];
|
||||
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
||||
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
||||
foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}];
|
||||
gitea.loadBalancer.servers = [{url = "http://localhost:3200";}];
|
||||
rustypaste.loadBalancer.servers = [{url = "http://localhost:8000";}];
|
||||
|
@ -120,6 +114,7 @@
|
|||
};
|
||||
web = {
|
||||
address = ":80";
|
||||
forwardedHeaders.insecure = true;
|
||||
};
|
||||
};
|
||||
certificatesResolvers = {
|
||||
|
|
14
hosts/yuki/services/dashdot.nix
Normal file
14
hosts/yuki/services/dashdot.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -4,5 +4,8 @@
|
|||
./traefik.nix
|
||||
./kanboard.nix
|
||||
./stash.nix
|
||||
./searxng.nix
|
||||
./homarr.nix
|
||||
./dashdot.nix
|
||||
];
|
||||
}
|
||||
|
|
12
hosts/yuki/services/homarr.nix
Normal file
12
hosts/yuki/services/homarr.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -8,7 +8,7 @@ _: {
|
|||
INSTANCE_NAME = "SearXNG";
|
||||
};
|
||||
ports = [
|
||||
"8085:8080"
|
||||
"8100:8080"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -20,10 +20,22 @@ _: {
|
|||
entrypoints = ["web"];
|
||||
service = "stash";
|
||||
};
|
||||
homarr = {
|
||||
rule = "Host(`dashboard.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "homarr";
|
||||
};
|
||||
dashdot = {
|
||||
rule = "Host(`dashdot.yuki.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "dashdot";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}];
|
||||
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;
|
||||
};
|
||||
entryPoints = {
|
||||
websecure.address = ":443";
|
||||
web.address = ":80";
|
||||
websecure = {
|
||||
address = ":443";
|
||||
forwardedHeaders.insecure = true;
|
||||
};
|
||||
web = {
|
||||
address = ":80";
|
||||
forwardedHeaders.insecure = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue