mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-06-27 15:58:56 +00:00
Merge branch 'zylon-ai:main' into feat/fireworks-integration
This commit is contained in:
commit
c4be3f8cd2
@ -28,7 +28,8 @@ services:
|
|||||||
- ollama-cuda
|
- ollama-cuda
|
||||||
- ollama-api
|
- ollama-api
|
||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
ollama:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
# Private-GPT service for the local mode
|
# Private-GPT service for the local mode
|
||||||
# This service builds from a local Dockerfile and runs the application in local mode.
|
# This service builds from a local Dockerfile and runs the application in local mode.
|
||||||
@ -59,6 +60,12 @@ services:
|
|||||||
# This will route requests to the Ollama service based on the profile.
|
# This will route requests to the Ollama service based on the profile.
|
||||||
ollama:
|
ollama:
|
||||||
image: traefik:v2.10
|
image: traefik:v2.10
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "sh", "-c", "wget -q --spider http://ollama:11434 || exit 1"]
|
||||||
|
interval: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 5s
|
||||||
|
timeout: 5s
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
command:
|
command:
|
||||||
|
Loading…
Reference in New Issue
Block a user