summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2020-05-20 10:03:18 +0200
committerMartin Schwan <m.schwan@phytec.de>2020-05-20 10:03:18 +0200
commit73e828fed265948ee84e823269c810d1bca193c3 (patch)
tree37bce83568525417a095633eda3444f84d97a26b
parent5e755abd1bd13962d08ae95c2c8a8bbbd1e6be24 (diff)
downloadaidemo-customvision-73e828fed265948ee84e823269c810d1bca193c3.tar.bz2
aidemo-customvision-73e828fed265948ee84e823269c810d1bca193c3.zip
Remove demo module from deployment
Since the demo application is run natively, it can be removed from the IoT Edge deployment template. Signed-off-by: Martin Schwan <m.schwan@phytec.de>
-rw-r--r--deployment-template.json10
-rw-r--r--modules/demo/create-options.json19
2 files changed, 0 insertions, 29 deletions
diff --git a/deployment-template.json b/deployment-template.json
index 8978a4c..2cff2db 100644
--- a/deployment-template.json
+++ b/deployment-template.json
@@ -50,16 +50,6 @@
"image": "${MODULE_MODEL_NAME}",
"createOptions": "${MODULE_MODEL_CREATE_OPTIONS}"
}
- },
- "demo": {
- "version": "1.0",
- "type": "docker",
- "status": "running",
- "restartPolicy": "always",
- "settings": {
- "image": "${MODULE_DEMO_NAME}",
- "createOptions": "${MODULE_DEMO_CREATE_OPTIONS}"
- }
}
}
}
diff --git a/modules/demo/create-options.json b/modules/demo/create-options.json
deleted file mode 100644
index 089bf6b..0000000
--- a/modules/demo/create-options.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "Env": [
- "QT_QPA_PLATFORM=wayland",
- "XDG_RUNTIME_DIR=/run/user/0"
- ],
- "HostConfig": {
- "Memory": 67108864,
- "Binds": [
- "/run/user/0:/run/user/0"
- ],
- "Devices": [
- {
- "PathOnHost": "/dev/video0",
- "PathInContainer": "/dev/video0",
- "CgroupPermissions": "rwm"
- }
- ]
- }
-}