Skip to content

Commit

Permalink
Merge branch 'zylon-ai:main' into feat/fireworks-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
somashekhar161 authored Nov 4, 2024
2 parents 62985df + 940bdd4 commit c4be3f8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ services:
- ollama-cuda
- ollama-api
depends_on:
- ollama
ollama:
condition: service_healthy

# Private-GPT service for the local mode
# This service builds from a local Dockerfile and runs the application in local mode.
Expand Down Expand Up @@ -59,6 +60,12 @@ services:
# This will route requests to the Ollama service based on the profile.
ollama:
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:
- "8080:8080"
command:
Expand Down

0 comments on commit c4be3f8

Please sign in to comment.