mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
ac5ac3e9f1
This reverts commit ce8b29e9d0
.
12 lines
410 B
Bash
Executable File
12 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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
|
|
else
|
|
echo "Running Plain Configuration"
|
|
docker-compose build && docker-compose up
|
|
fi
|