Host LibreTranslate #121

Merged
wi11-holdsworth merged 2 commits from 116 into main 2026-03-02 23:08:19 +11:00
3 changed files with 28 additions and 0 deletions

View file

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

View file

@ -55,6 +55,13 @@ in
href = "https://cryptpad.fi33.buzz/";
};
}
{
LibreTranslate = {
description = "Machine Translation API";
icon = "libretranslate.svg";
href = "https://translate.fi33.buzz/";
};
}
{
Send = {
description = "Simple, private file sharing";

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
}
'';
};
}