diff --git a/.gitignore b/.gitignore index 50efea04..543ed3a3 100644 --- a/.gitignore +++ b/.gitignore @@ -337,7 +337,6 @@ machine-learning-notebooks/aml_config/config.json # Edge development **/config/deployment*.json -**/.env camera-sdk/iotccsdk.egg-info/* camera-sdk/dist/* diff --git a/samples/official/camera-tagging/.env b/samples/official/camera-tagging/.env new file mode 100644 index 00000000..afa380f0 --- /dev/null +++ b/samples/official/camera-tagging/.env @@ -0,0 +1,5 @@ +CONTAINER_REGISTRY_NAME= +LOCAL_STORAGE_ACCOUNT_KEY=jukoPNlrFwXR/eELSxryaw== +LOCAL_STORAGE_ACCOUNT_NAME=camerataggingmodulelocal +DESTINATION_STORAGE_NAME=camerataggingmodulecloud +CLOUD_STORAGE_CONNECTION_STRING= \ No newline at end of file diff --git a/samples/official/camera-tagging/deployment.template.json b/samples/official/camera-tagging/deployment.template.json index 09e5efe9..2ca1ce5c 100644 --- a/samples/official/camera-tagging/deployment.template.json +++ b/samples/official/camera-tagging/deployment.template.json @@ -63,7 +63,7 @@ "status": "running", "restartPolicy": "always", "settings": { - "image": "${MODULES.CameraTaggingModule}", + "image": "toolboc/camerataggingmodule:latest", "createOptions": { "ExposedPorts": { "3000/tcp": {}, @@ -93,13 +93,13 @@ }, "env": { "RTSP_IP": { - "value": "192.168.0.103" + "value": "wowzaec2demo.streamlock.net" }, "RTSP_PORT": { - "value": "8900" + "value": "554" }, "RTSP_PATH": { - "value": "live" + "value": "vod/mp4:BigBuckBunny_115k.mov" }, "REACT_APP_SERVER_PORT": { "value": "3003" @@ -114,10 +114,10 @@ "value": "11002" }, "REACT_APP_LOCAL_STORAGE_ACCOUNT_NAME": { - "value": "" + "value": "$LOCAL_STORAGE_ACCOUNT_NAME" }, "REACT_APP_LOCAL_STORAGE_ACCOUNT_KEY": { - "value": "" + "value": "$LOCAL_STORAGE_ACCOUNT_KEY" } } }, @@ -127,11 +127,11 @@ "status": "running", "restartPolicy": "always", "settings": { - "image": "mcr.microsoft.com/azure-blob-storage:1.2", + "image": "mcr.microsoft.com/azure-blob-storage:latest", "createOptions": { "Env":[ - "LOCAL_STORAGE_ACCOUNT_NAME=", - "LOCAL_STORAGE_ACCOUNT_KEY=" + "LOCAL_STORAGE_ACCOUNT_NAME=$LOCAL_STORAGE_ACCOUNT_NAME", + "LOCAL_STORAGE_ACCOUNT_KEY=$LOCAL_STORAGE_ACCOUNT_KEY" ], "HostConfig":{ "Binds": ["/data/containerdata:/blobroot"], @@ -166,10 +166,10 @@ "deviceToCloudUploadProperties": { "uploadOn": true, "uploadOrder": "OldestFirst", - "cloudStorageConnectionString": "", + "cloudStorageConnectionString": "$CLOUD_STORAGE_CONNECTION_STRING", "storageContainersForUpload": { - "": { - "target": "" + "$LOCAL_STORAGE_ACCOUNT_NAME": { + "target": "$DESTINATION_STORAGE_NAME" } }, "deleteAfterUpload": true