snowflake: 11.04.23 -> 11.12.23 #19
7 changed files with 49 additions and 38 deletions
|
@ -1,14 +0,0 @@
|
|||
_: {
|
||||
virtualisation.oci-containers.containers.dashdot = {
|
||||
image = "mauricenino/dashdot:sha-4bef01c";
|
||||
ports = [
|
||||
"4000:3001"
|
||||
];
|
||||
volumes = [
|
||||
"/home/notoh/docker/dashdot:/mnt/host:ro"
|
||||
];
|
||||
environment = {
|
||||
DASHDOT_ENABLE_CPU_TEMPS = "true";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -3,9 +3,10 @@
|
|||
./restic.nix
|
||||
./traefik.nix
|
||||
./stash.nix
|
||||
./homarr.nix
|
||||
./dashdot.nix
|
||||
./jellyfin.nix
|
||||
./minecraft.nix
|
||||
./wallos.nix
|
||||
./homepage.nix
|
||||
./glances.nix
|
||||
];
|
||||
}
|
||||
|
|
15
hosts/yuki/services/glances.nix
Normal file
15
hosts/yuki/services/glances.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
_: {
|
||||
networking.firewall.allowedTCPPorts = [61208 61209];
|
||||
virtualisation.oci-containers.containers.glances = {
|
||||
image = "nicolargo/glances";
|
||||
ports = [
|
||||
"61208-61209:61208-61209"
|
||||
];
|
||||
volumes = [
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
environment = {
|
||||
GLANCES_OPT = "-w";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
_: {
|
||||
virtualisation.oci-containers.containers.homarr = {
|
||||
image = "ghcr.io/ajnart/homarr:0.14.0";
|
||||
ports = [
|
||||
"7575:7575"
|
||||
];
|
||||
volumes = [
|
||||
"/home/notohh/docker/homarr/configs:/app/data/configs"
|
||||
"/home/notohh/docker/homarr/icons:/app/public/icons"
|
||||
"/home/notohh/docker/homarr/data:/data"
|
||||
];
|
||||
};
|
||||
}
|
7
hosts/yuki/services/homepage.nix
Normal file
7
hosts/yuki/services/homepage.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
services.homepage-dashboard = {
|
||||
enable = true;
|
||||
listenPort = 7676;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
|
@ -10,21 +10,16 @@ _: {
|
|||
entryPoints = ["websecure"];
|
||||
service = "api@internal";
|
||||
};
|
||||
homarr = {
|
||||
homepage = {
|
||||
rule = "Host(`dashboard.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
service = "homarr";
|
||||
service = "homepage";
|
||||
};
|
||||
stash = {
|
||||
rule = "Host(`stash.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
service = "stash";
|
||||
};
|
||||
dashdot = {
|
||||
rule = "Host(`dashdot.yuki.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
service = "dashdot";
|
||||
};
|
||||
jellyfin = {
|
||||
rule = "Host(`jellyfin.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
|
@ -35,13 +30,18 @@ _: {
|
|||
entrypoints = ["web"];
|
||||
service = "jellyseerr";
|
||||
};
|
||||
wallos = {
|
||||
rule = "Host(`wallos.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
service = "wallos";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
||||
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
||||
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
||||
homepage.loadBalancer.servers = [{url = "http://localhost:7676";}];
|
||||
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
||||
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
||||
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
15
hosts/yuki/services/wallos.nix
Normal file
15
hosts/yuki/services/wallos.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
_: {
|
||||
virtualisation.oci-containers.containers.wallos = {
|
||||
image = "bellamy/wallos";
|
||||
ports = [
|
||||
"8282:80"
|
||||
];
|
||||
volumes = [
|
||||
"/home/notohh/docker/wallos/db:/var/www/html/db"
|
||||
"/home/notohh/docker/wallos/logos:/var/www/html/images/uploads/logos"
|
||||
];
|
||||
environment = {
|
||||
TZ = "America/New_York";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue