#127 Add Traefik route for ollama and open-webui
This commit is contained in:
parent
3b57590ac2
commit
de5fcb9722
29
fighter/config/traefik/config/ollama.yaml
Normal file
29
fighter/config/traefik/config/ollama.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
http:
|
||||||
|
routers:
|
||||||
|
api:
|
||||||
|
rule: "Host(`api.ollama.jafner.net`)"
|
||||||
|
entryPoints: "websecure"
|
||||||
|
middlewares:
|
||||||
|
- "lan-only@file"
|
||||||
|
service: "api@file"
|
||||||
|
tls:
|
||||||
|
certResolver: "lets-encrypt"
|
||||||
|
open-webui:
|
||||||
|
rule: "Host(`ollama.jafner.net`)"
|
||||||
|
entryPoints: "websecure"
|
||||||
|
middlewares:
|
||||||
|
- "lan-only@file"
|
||||||
|
service: "open-webui@file"
|
||||||
|
tls:
|
||||||
|
certResolver: "lets-encrypt"
|
||||||
|
|
||||||
|
services:
|
||||||
|
open-webui:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://192.168.1.135:8080"
|
||||||
|
api:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://192.168.1.135:11434"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user