Skip to content

Commit

Permalink
fix: updated docker execution script from docker-compose to `docker…
Browse files Browse the repository at this point in the history
… compose` so it works on latest versions of docker used across contributors machine
  • Loading branch information
utin-francis-peter committed Sep 26, 2024
1 parent d6cb66c commit ecf88e7
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 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

0 comments on commit ecf88e7

Please sign in to comment.