sakura: init justlog
This commit is contained in:
parent
8b3c6ec6c8
commit
82edffd93f
3 changed files with 16 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
||||||
device = "/dev/disk/by-uuid/db3e4722-35a6-44fb-8e4d-a75166b845cb";
|
device = "/dev/disk/by-uuid/db3e4722-35a6-44fb-8e4d-a75166b845cb";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
fileSystems."/home/notoh/justlog/logs" = {
|
||||||
|
device = "192.168.1.199:/mnt/Sutoreji/twitchlogs";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{device = "/dev/disk/by-uuid/c5afba13-f1af-4e7f-994b-f565c52d92fc";}
|
{device = "/dev/disk/by-uuid/c5afba13-f1af-4e7f-994b-f565c52d92fc";}
|
||||||
|
|
|
@ -9,5 +9,6 @@
|
||||||
./conduit.nix
|
./conduit.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./searxng.nix
|
./searxng.nix
|
||||||
|
./justlog.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
11
hosts/sakura/services/justlog.nix
Normal file
11
hosts/sakura/services/justlog.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{...}: {
|
||||||
|
networking.firewall.allowedTCPPorts = [8025];
|
||||||
|
virtualisation.oci-containers.containers.justlog = {
|
||||||
|
image = "ghcr.io/gempir/justlog";
|
||||||
|
ports = ["8025:8025"];
|
||||||
|
volumes = [
|
||||||
|
"/home/notoh/justlog/config.json:/etc/justlog.json"
|
||||||
|
"/home/notoh/justlog/logs:/logs"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue