Host Calibre #88

Merged
wi11-holdsworth merged 2 commits from 84 into main 2026-01-20 14:57:17 +11:00
3 changed files with 43 additions and 13 deletions

View file

@ -7,6 +7,7 @@
# keep-sorted start # keep-sorted start
"bazarr" "bazarr"
"caddy" "caddy"
"calibre-server"
"copyparty" "copyparty"
"couchdb" "couchdb"
"firefly" "firefly"
@ -14,7 +15,6 @@
"immich" "immich"
"jellyfin" "jellyfin"
"karakeep" "karakeep"
"kavita"
"lidarr" "lidarr"
"miniflux" "miniflux"
"ntfy-sh" "ntfy-sh"

View file

@ -0,0 +1,23 @@
let
port = 5011;
certloc = "/var/lib/acme/fi33.buzz";
in
{
services = {
calibre-server = {
enable = true;
extraFlags = [ "--trusted-ips=127.0.0.1" ];
group = "srv";
host = "127.0.0.1";
inherit port;
libraries = [ "/media/media/books" ];
};
caddy.virtualHosts."calibre.fi33.buzz".extraConfig = ''
reverse_proxy localhost:${toString port}
tls ${certloc}/cert.pem ${certloc}/key.pem {
protocols tls1.3
}
'';
};
}

View file

@ -192,18 +192,18 @@ in
}; };
}; };
} }
{ # {
"Kavita" = { # "Kavita" = {
"description" = "Book reader"; # "description" = "Book reader";
"icon" = "kavita.svg"; # "icon" = "kavita.svg";
"href" = "https://kavita.fi33.buzz/"; # "href" = "https://kavita.fi33.buzz/";
"widget" = { # "widget" = {
"type" = "kavita"; # "type" = "kavita";
"url" = "https://kavita.fi33.buzz/"; # "url" = "https://kavita.fi33.buzz/";
"key" = "@kavita-api@"; # "key" = "@kavita-api@";
}; # };
}; # };
} # }
{ {
"Karakeep" = { "Karakeep" = {
"description" = "Web clipper"; "description" = "Web clipper";
@ -245,6 +245,13 @@ in
} }
{ {
"Services" = [ "Services" = [
{
"Calibre Server" = {
"description" = "Calibre library manager";
"icon" = "calibre.svg";
"href" = "https://calibre.fi33.buzz/";
};
}
{ {
"copyparty" = { "copyparty" = {
"description" = "Cloud file manager"; "description" = "Cloud file manager";