Skip to content

Commit 90be8b4

Browse files
author
Yoichi Kawasaki
committed
Added debug option
1 parent d7a2b6f commit 90be8b4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

scripts/docker-run-mini.sh

+1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ STORAGE_CONNECTION_STRING=$(az storage account show-connection-string \
2323

2424
docker run -p 8080:80 -it \
2525
-e AzureWebJobsStorage="$STORAGE_CONNECTION_STRING" \
26+
-e AzureFunctionsJobHost__Logging__Console__IsEnabled="true" \
2627
$DOCKER_ID/$CONTAINER_IMAGE_NAME:$TAG

scripts/docker-run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ docker run -p 8080:80 -it \
4141
-e MyCosmosDBConnectionString="$COSMOSDB_CONNECTION_STRING" \
4242
-e ComputerVisionSubscription="$COMPUTER_VSION_API_SUBSCRIPTION" \
4343
-e ComputerVisionApiEndpoint="$COMPUTER_VSION_API_ENDPOINT" \
44+
-e AzureFunctionsJobHost__Logging__Console__IsEnabled="true" \
4445
$DOCKER_ID/$CONTAINER_IMAGE_NAME:$TAG

scripts/update-azfunc-app-settings.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ az webapp config appsettings set \
2727
-n $APP_NAME \
2828
-g $RESOURCE_GROUP \
2929
--settings \
30-
ComputerVisionSubscription=$MY_COMPUTER_VISION_APIKEY \
31-
ComputerVisionApiEndpoint=$MY_COMPUTER_VISION_ENDPOINT \
32-
MyStorageConnectionString=$MY_STORAGE_CONNECTION \
33-
MyCosmosDBConnectionString=$MY_COSMOS_DB_CONNECTION \
30+
ComputerVisionSubscription=$COMPUTER_VSION_API_SUBSCRIPTION \
31+
ComputerVisionApiEndpoint=$COMPUTER_VSION_API_ENDPOINT=\
32+
MyStorageConnectionString=$STORAGE_CONNECTION_STRING \
33+
MyCosmosDBConnectionString=$COSMOSDB_CONNECTION_STRING
3434

3535
echo "Done"

0 commit comments

Comments
 (0)