From fea1577ba74e8476b19135d7a9e458d696c876ac Mon Sep 17 00:00:00 2001 From: Deepika J Date: Tue, 1 Mar 2022 10:23:43 +0000 Subject: [PATCH] Add 'Template.json' --- Template.json | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Template.json diff --git a/Template.json b/Template.json new file mode 100644 index 0000000..803cdf0 --- /dev/null +++ b/Template.json @@ -0,0 +1,53 @@ +{ + "version": "3", + "services": { + "influxdb": { + "image": "influxdb", + "container_name": "influxdb", + "ports": [ + "8086:8086" + ], + "volumes": [ + "../influxdb-data:/var/lib/influxdb" + ] + }, + "grafana": { + "image": "grafana/grafana", + "container_name": "grafana", + "ports": [ + "3000:3000" + ], + "user": "0", + "volumes": [ + "../grafana-data:/var/lib/grafana" + ] + }, + "node-red": { + "image": "nodered/node-red", + "container_name": "node-red", + "ports": [ + "1880:1880" + ], + "volumes": [ + "../node-red-data:/data" + ] + }, + "mosquitto": { + "image": "eclipse-mosquitto", + "container_name": "mosquitto", + "ports": [ + "1883:1883", + "9001:9001" + ], + "volumes": [ + "../mosquitto-data:/mosquitto" + ] + } + }, + "volumes": { + "influxdb-data": null, + "grafana-data": null, + "node-red-data": null, + "mosquitto-data": null + } +} \ No newline at end of file