Skip to content

Commit

Permalink
Add api to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
JdFSilva committed Oct 23, 2024
1 parent cad84fa commit 87e8df7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ services:
volumes:
- ./database_scripts:/docker-entrypoint-initdb.d

api:
env_file: .env.local
build: .
environment:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
ports:
- "8000:8000"
depends_on:
- labs-db

litellm:
image: ghcr.io/berriai/litellm:main-latest
ports:
Expand Down Expand Up @@ -60,4 +71,4 @@ services:
- labs-db
volumes:
- .:/app
- ${LOCAL_REPOS_PATH}:/local-repos/
- ${LOCAL_REPOS_PATH}:/local-repos/

0 comments on commit 87e8df7

Please sign in to comment.