fix(deploy): improve Docker-Compose and quickstart on Docker (#2037)

* chore: update docker-compose with profiles

* docs: add quick start doc
This commit is contained in:
Javier Martinez
2024-08-05 16:17:36 +02:00
parent 6674b46fea
commit dae0727a1b
4 changed files with 195 additions and 5 deletions

16
.docker/router.yml Normal file
View File

@@ -0,0 +1,16 @@
http:
services:
ollama:
loadBalancer:
healthCheck:
interval: 5s
path: /
servers:
- url: http://ollama-cpu:11434
- url: http://ollama-cuda:11434
- url: http://host.docker.internal:11434
routers:
ollama-router:
rule: "PathPrefix(`/`)"
service: ollama