add komga to replace booklore

This commit is contained in:
TheWanderingCrow 2026-03-15 16:05:37 -04:00
parent 9d0866515e
commit f80d80563f
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, ... }:
let
port = lib.custom.autoport "komga";
in
{
systemd.tmpfiles.rules = [
"d /var/lib/komga"
"d /var/lib/komga/config"
"d /var/lib/komga/data"
];
services.caddy.virtualHosts."library.wanderingcrow.net".extraConfig = ''
reverse_proxy http://localhost:25600
'';
virtualisation.quadlet = {
containers = {
komga.containerConfig = {
image = "ghcr.io/gotson/komga:latest";
publishPorts = [
"25600:25600"
];
volumes = [
"/var/lib/komga/config:/config"
"/var/lib/komga/data:/data"
];
};
};
};
}