Skip to content

Commit

Permalink
workaround issue microsoft#13
Browse files Browse the repository at this point in the history
Signed-off-by: Jianguo Ma <[email protected]>
  • Loading branch information
majguo committed Jun 26, 2024
1 parent 2632354 commit a42b210
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,12 @@ az containerapp create \
--min-replicas 1 \
--ingress external \
--target-port 8080 \
--secrets azureopenaikey=$AZURE_OPENAI_KEY \
--env-vars SPRING_AI_AZURE_OPENAI_ENDPOINT=$AZURE_OPENAI_ENDPOINT \
--secrets azureopenaikey=$AZURE_OPENAI_KEY

az containerapp update \
--name ai-weather-application \
--resource-group $RESOURCE_GROUP \
--set-env-vars SPRING_AI_AZURE_OPENAI_ENDPOINT=$AZURE_OPENAI_ENDPOINT \
SPRING_AI_AZURE_OPENAI_API_KEY=secretref:azureopenaikey
cd ..
```
Expand Down

0 comments on commit a42b210

Please sign in to comment.