Merge pull request #1153 from utin-francis-peter/update-run-with-docker-compose

fix: updated docker execution script from `docker-compose` to `docker…
This commit is contained in:
Alex 2024-09-26 14:30:56 +01:00 committed by GitHub
commit bc4f9c3442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 build && docker compose -f docker-compose-azure.yaml up
else
echo "Running Plain Configuration"
docker-compose build && docker-compose up
docker compose build && docker compose up
fi