refactor traefik + add open-webui service
This commit is contained in:
parent
2f545a818f
commit
969075a5de
4 changed files with 30 additions and 11 deletions
19
nixos/viridian/services/traefik/routers.nix
Normal file
19
nixos/viridian/services/traefik/routers.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue