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