refactor traefik + add open-webui service

This commit is contained in:
♥ Minnie ♥ 2025-09-27 10:16:18 +08:00
parent 2f545a818f
commit 969075a5de
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
4 changed files with 30 additions and 11 deletions

View file

@ -0,0 +1,19 @@
{...}: {
services.traefik.dynamicConfigOptions.http.routers = {
traefik-dashboard = {
rule = "Host(`traefik.home.arpa`)";
entryPoints = [
"websecure"
];
service = "api@internal";
};
open-webui = {
rule = "Host(`ollama.home.arpa`)";
entryPoints = [
"websecure"
];
service = "open-webui";
};
};
}