Update ai traefik routiung

This commit is contained in:
Joey Hafner 2024-05-28 11:42:15 -07:00
parent 07b5392528
commit 6ba11c0582
2 changed files with 46 additions and 37 deletions

View File

@ -1,11 +1,11 @@
http:
routers:
api:
rule: "Host(`ollama-api.jafner.net`)"
ollama:
rule: "Host(`ollama.jafner.net`)"
entryPoints: "websecure"
middlewares:
- "lan-only@file"
service: "ollama-api@file"
service: "ollama@file"
tls:
certResolver: "lets-encrypt"
open-webui:
@ -21,6 +21,15 @@ http:
entryPoints: "websecure"
middlewares:
- "lan-only@file"
service: "sillytavern@file"
tls:
certResolver: "lets-encrypt"
sdwebui:
rule: "Host(`sdwebui.jafner.net`)"
entryPoints: "websecure"
middlewares:
- "lan-only@file"
service: "sdwebui@file"
tls:
certResolver: "lets-encrypt"
oobabooga:
@ -28,24 +37,53 @@ http:
entryPoints: "websecure"
middlewares:
- "lan-only@file"
service: "oobabooga@file"
tls:
certResolver: "lets-encrypt"
oobabooga-api:
rule: "Host(`oobabooga-api.jafner.net`)"
entryPoints: "websecure"
middlewares:
- "lan-only@file"
service: "oobabooga-api@file"
tls:
certResolver: "lets-encrypt"
exui:
rule: "Host(`exui.jafner.net`)"
entryPoints: "websecure"
middlewares:
- "lan-only@file"
service: "exui@file"
tls:
certResolver: "lets-encrypt"
services:
open-webui:
loadBalancer:
servers:
- url: "http://192.168.1.135:8080"
ollama-api:
ollama:
loadBalancer:
servers:
- url: "http://192.168.1.135:11434"
open-webui:
loadBalancer:
servers:
- url: "http://192.168.1.135:3000"
sillytavern:
loadBalancer:
servers:
- url: "http://192.168.1.135:8000"
sdwebui:
loadBalancer:
servers:
- url: "http://192.168.1.135:7868"
oobabooga:
loadBalancer:
servers:
- url: "http://192.168.1.135:7860"
oobabooga-api:
loadBalancer:
servers:
- url: "http://192.168.1.135:5010"
exui:
loadBalancer:
servers:
- url: "http://192.168.1.135:5030"

View File

@ -1,29 +0,0 @@
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"