Merge pull request #1386 from AranavMahalpure/patch-1

Update run-with-docker-compose.sh
This commit is contained in:
Alex
2024-10-31 11:18:23 +00:00
committed by GitHub

View File

@@ -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