{ "modulesContent": { "$edgeAgent": { "properties.desired": { "schemaVersion": "1.1", "runtime": { "type": "docker", "settings": {} }, "systemModules": { "edgeAgent": { "env": { "UpstreamProtocol": { "value": "AMQPWS" }, "SendRuntimeQualityTelemetry": { "value": false } }, "settings": { "image": "mcr.microsoft.com/azureiotedge-agent:1.1.4", "createOptions": "{\"HostConfig\":{\"LogConfig\":{\"Type\":\"json-file\",\"Config\":{\"max-size\":\"10m\",\"max-file\":\"3\"}}}}" }, "type": "docker" }, "edgeHub": { "env": { "UpstreamProtocol": { "value": "AMQPWS" } }, "restartPolicy": "always", "settings": { "image": "mcr.microsoft.com/azureiotedge-hub:1.1.4", "createOptions": "{\"HostConfig\":{\"LogConfig\":{\"Type\":\"json-file\",\"Config\":{\"max-size\":\"10m\",\"max-file\":\"3\"}},\"PortBindings\":{\"443/tcp\":[{\"HostPort\":\"443\"}],\"5671/tcp\":[{\"HostPort\":\"5671\"}],\"8883/tcp\":[{\"HostPort\":\"8883\"}]}}}" }, "status": "running", "type": "docker" } }, "modules": { "thingspro-agent": { "restartPolicy": "always", "settings": { "image": "moxa2019/thingspro-agent:2.2.3-armhf", "createOptions": "{\"HostConfig\":{\"LogConfig\":{\"Type\":\"json-file\",\"Config\":{\"max-size\":\"10m\",\"max-file\":\"3\"}},\"Binds\":[\"/var/thingspro/apps/cloud/data/setting/:/var/thingspro/cloud/setting/\",\"/run/:/host/run/\",\"/var/thingspro/data/:/var/thingspro/data/\"]}}" }, "status": "running", "type": "docker" } } } }, "$edgeHub": { "properties.desired": { "schemaVersion": "1.1", "storeAndForwardConfiguration": { "timeToLiveSecs": 86400 }, "routes": { "route": { "route": "FROM /messages/* INTO $upstream" } } } }, "thingspro-agent": { "properties.desired": {} } } }