Initial commit
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"modulesContent": {
|
||||
"$edgeAgent": {
|
||||
"properties.desired": {
|
||||
"schemaVersion": "1.1",
|
||||
"modules": {},
|
||||
"runtime": {
|
||||
"type": "docker",
|
||||
"settings": {
|
||||
"minDockerVersion": "v1.25",
|
||||
"registryCredentials": {
|
||||
"registryName": {
|
||||
"username": "${ContainerRegistryUserName}",
|
||||
"password": "${ContainerRegistryPassword}",
|
||||
"address": "${ContainerRegistryLoginServer}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"systemModules": {
|
||||
"edgeAgent": {
|
||||
"imagePullPolicy": "on-create",
|
||||
"type": "docker",
|
||||
"env": {
|
||||
"storageFolder": {
|
||||
"value": "/aziot/storage/"
|
||||
},
|
||||
"UpstreamProtocol": {
|
||||
"value": "AMQPWS"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"image": "mcr.microsoft.com/azureiotedge-agent:1.5",
|
||||
"createOptions": {
|
||||
"HostConfig": {
|
||||
"Binds": [
|
||||
"/etc/aziot/storage/:/aziot/storage/"
|
||||
],
|
||||
"LogConfig": {
|
||||
"Type": "json-file",
|
||||
"Config": {
|
||||
"max-size": "10m",
|
||||
"max-file": "10"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"edgeHub": {
|
||||
"imagePullPolicy": "on-create",
|
||||
"type": "docker",
|
||||
"env": {
|
||||
"storageFolder": {
|
||||
"value": "/aziot/storage/"
|
||||
},
|
||||
"UpstreamProtocol": {
|
||||
"value": "AMQPWS"
|
||||
}
|
||||
},
|
||||
"status": "running",
|
||||
"restartPolicy": "always",
|
||||
"startupOrder": 0,
|
||||
"settings": {
|
||||
"image": "mcr.microsoft.com/azureiotedge-hub:1.5",
|
||||
"createOptions": {
|
||||
"HostConfig": {
|
||||
"Binds": [
|
||||
"/etc/aziot/storage/:/aziot/storage/"
|
||||
],
|
||||
"LogConfig": {
|
||||
"Type": "json-file",
|
||||
"Config": {
|
||||
"max-size": "10m",
|
||||
"max-file": "10"
|
||||
}
|
||||
},
|
||||
"PortBindings": {
|
||||
"5671/tcp": [
|
||||
{
|
||||
"HostPort": "5671"
|
||||
}
|
||||
],
|
||||
"8883/tcp": [
|
||||
{
|
||||
"HostPort": "8883"
|
||||
}
|
||||
],
|
||||
"443/tcp": [
|
||||
{
|
||||
"HostPort": "443"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$edgeHub": {
|
||||
"properties.desired": {
|
||||
"schemaVersion": "1.1",
|
||||
"storeAndForwardConfiguration": {
|
||||
"timeToLiveSecs": 86400
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user