Skip to content

Commit

Permalink
Merge pull request #1386 from AranavMahalpure/patch-1
Browse files Browse the repository at this point in the history
Update run-with-docker-compose.sh
  • Loading branch information
dartpain authored Oct 31, 2024
2 parents daedfc0 + 45f930a commit 45e14bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-with-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ source .env

if [[ -n "$OPENAI_API_BASE" ]] && [[ -n "$OPENAI_API_VERSION" ]] && [[ -n "$AZURE_DEPLOYMENT_NAME" ]] && [[ -n "$AZURE_EMBEDDINGS_DEPLOYMENT_NAME" ]]; then
echo "Running Azure Configuration"
docker compose -f docker-compose-azure.yaml build && docker compose -f docker-compose-azure.yaml up
docker compose -f docker-compose-azure.yaml up --build
else
echo "Running Plain Configuration"
docker compose build && docker compose up
docker compose up --build
fi

0 comments on commit 45e14bc

Please sign in to comment.