Skip to content

Commit

Permalink
Add deployment Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Nov 7, 2021
1 parent def3751 commit df83223
Show file tree
Hide file tree
Showing 36 changed files with 113 additions and 0 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
113 changes: 113 additions & 0 deletions templates/iotEdge/deploymentManifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"modulesContent": {
"$edgeAgent": {
"properties.desired": {
"schemaVersion": "1.1",
"runtime": {
"type": "docker",
"settings": {
"loggingOptions": "",
"minDockerVersion": "v1.25"
}
},
"systemModules": {
"edgeAgent": {
"type": "docker",
"settings": {
"image": "mcr.microsoft.com/azureiotedge-agent:1.2.2",
"createOptions": "{}"
}
},
"edgeHub": {
"type": "docker",
"settings": {
"image": "mcr.microsoft.com/azureiotedge-hub:1.2.2",
"createOptions": "{ \"HostConfig\": { \"PortBindings\": {\"8883/tcp\": [ {\"HostPort\": \"8883\" } ], \"443/tcp\": [ { \"HostPort\": \"443\" } ], \"5671/tcp\": [ { \"HostPort\": \"5671\" }] } }}"
},
"env": {
"AuthenticationScope": {
"value": "CloudAndScope"
},
"OptimizeForPerformance": {
"value": "false"
},
"mqttSettings__enabled": {
"value": "false"
},
"httpSettings__enabled": {
"value": "false"
},
"TwinManagerVersion": {
"value": "v2"
}
},
"status": "running",
"restartPolicy": "always"
}
},
"modules": {
"LoRaWanNetworkSrvModule": {
"type": "docker",
"settings": {
"image": "kbeaugrand/lorawannetworksrvmodule:1.0.0",
"createOptions": "{\"ExposedPorts\": { \"1680/udp\": {}}, \"HostConfig\": { \"PortBindings\": {\"1680/udp\": [ { \"HostPort\": \"1680\", \"HostIp\":\"172.17.0.1\" } ]}}}"
},
"version": "1.0",
"env": {
"LOG_LEVEL": {
"value": "1"
},
"LOG_TO_HUB": {
"value": "true"
},
"ENABLE_GATEWAY": {
"value": true
}
},
"status": "running",
"restartPolicy": "always"
},
"LoRaWanPktFwdModule": {
"type": "docker",
"settings": {
"image": "loraedge/lorawanpktfwdmodule:1.0.6",
"createOptions": " {\"HostConfig\": {\"NetworkMode\": \"host\", \"Privileged\": true }, \"NetworkingConfig\": {\"EndpointsConfig\": {\"host\": {} }}}"
},
"env": {
"RESET_PIN": {
"value": "1"
},
"REGION": {
"value": "EU"
}
},
"version": "1.0",
"status": "running",
"restartPolicy": "always"
},
"WattecoDecoder": {
"settings": {
"image": "kbeaugrand/az-iotedge-watteco-decoder-module:v1.10-beta",
"createOptions": ""
},
"type": "docker",
"version": "1.0",
"status": "running",
"restartPolicy": "always"
}
}
}
},
"$edgeHub": {
"properties.desired": {
"schemaVersion": "1.1",
"routes": {
"route": "FROM /* INTO $upstream"
},
"storeAndForwardConfiguration": {
"timeToLiveSecs": 7200
}
}
}
}
}

0 comments on commit df83223

Please sign in to comment.