Skip to content

Commit

Permalink
fix Welcome assistant (#93)
Browse files Browse the repository at this point in the history
* asst deletion try catch

* re structure backend code. now the core logics sits in 'core' and the services will have it's own service logic or APIs accordingly.

* use docker addtion context build

* Update Makefile

add build context. to build_and_push_images

* health check depends added for litellm

* set timeout to 30s
  • Loading branch information
tybalex authored Feb 22, 2024
1 parent 87f6171 commit b3a784c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ services:
volumes:
- ./llm-config.yaml:/app/config.yaml
command: ["--config", "/app/config.yaml", "--port", "8002", "--num_workers", "8"]
healthcheck:
test: ["CMD-SHELL", "litellm --health --port 8002"]
interval: 30s
timeout: 30s
retries: 3
start_period: 40s
networks:
- rubra

Expand Down Expand Up @@ -131,8 +137,10 @@ services:
ports:
- '8000:8000'
depends_on:
- litellm
- task-executor
litellm:
condition: service_healthy
task-executor:
condition: service_started
networks:
- rubra

Expand Down

0 comments on commit b3a784c

Please sign in to comment.