From 7762cae93dfaf7be9268aa3956ea71c3e9c1debe Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 23 May 2024 22:19:47 -0700 Subject: [PATCH] Update AI routers --- fighter/config/traefik/config/ai.yaml | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 fighter/config/traefik/config/ai.yaml diff --git a/fighter/config/traefik/config/ai.yaml b/fighter/config/traefik/config/ai.yaml new file mode 100644 index 0000000..acf1289 --- /dev/null +++ b/fighter/config/traefik/config/ai.yaml @@ -0,0 +1,51 @@ +http: + routers: + api: + rule: "Host(`ollama-api.jafner.net`)" + entryPoints: "websecure" + middlewares: + - "lan-only@file" + service: "ollama-api@file" + tls: + certResolver: "lets-encrypt" + open-webui: + rule: "Host(`openwebui.jafner.net`)" + entryPoints: "websecure" + middlewares: + - "lan-only@file" + service: "open-webui@file" + tls: + certResolver: "lets-encrypt" + sillytavern: + rule: "Host(`sillytavern.jafner.net`)" + entryPoints: "websecure" + middlewares: + - "lan-only@file" + tls: + certResolver: "lets-encrypt" + oobabooga: + rule: "Host(`oobabooga.jafner.net`)" + entryPoints: "websecure" + middlewares: + - "lan-only@file" + tls: + certResolver: "lets-encrypt" + + services: + open-webui: + loadBalancer: + servers: + - url: "http://192.168.1.135:8080" + ollama-api: + loadBalancer: + servers: + - url: "http://192.168.1.135:11434" + sillytavern: + loadBalancer: + servers: + - url: "http://192.168.1.135:8000" + oobabooga: + loadBalancer: + servers: + - url: "http://192.168.1.135:7860" + \ No newline at end of file