diff --git a/fighter/config/traefik/config/ollama.yaml b/fighter/config/traefik/config/ollama.yaml new file mode 100644 index 0000000..840206d --- /dev/null +++ b/fighter/config/traefik/config/ollama.yaml @@ -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" + \ No newline at end of file