mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-05 21:21:02 +00:00
10 lines
336 B
Bash
Executable File
10 lines
336 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
|
|
docker-compose -f docker-compose-azure.yaml build && docker-compose -f docker-compose-azure.yaml up
|
|
else
|
|
docker-compose build && docker-compose up
|
|
fi
|