feat(libretranslate): install

This commit is contained in:
Will Holdsworth 2026-03-02 22:56:51 +11:00
parent de21c82acb
commit d4118655df
Signed by: will-holdsworth
SSH key fingerprint: SHA256:Ykee8aymMJNAiYeeEmiwcIzkA1wgd4v8OZcWGxjq12c
2 changed files with 21 additions and 0 deletions

View file

@ -14,6 +14,7 @@
"immich"
"jellyfin"
"kavita"
"libretranslate"
"lidarr"
"miniflux"
"ntfy-sh"

View file

@ -0,0 +1,20 @@
let
port = 5023;
certloc = "/var/lib/acme/fi33.buzz";
in
{
services = {
libretranslate = {
enable = true;
inherit port;
updateModels = true;
};
caddy.virtualHosts."translate.fi33.buzz".extraConfig = ''
reverse_proxy localhost:${toString port}
tls ${certloc}/cert.pem ${certloc}/key.pem {
protocols tls1.3
}
'';
};
}