From 4bb3a39df79683dc309b00de148467f20f957dd8 Mon Sep 17 00:00:00 2001 From: ShankarMounesh Date: Mon, 2 May 2022 04:52:05 +0000 Subject: [PATCH] Update 'Deploment/deployment.json' --- Deploment/deployment.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Deploment/deployment.json b/Deploment/deployment.json index 55656ff..c4cd684 100644 --- a/Deploment/deployment.json +++ b/Deploment/deployment.json @@ -45,7 +45,11 @@ "image": "eclipse-mosquitto", "hostname": "mosquitto", "restart_policy": "always", - "ports": ["1883:1883/tcp","9001:9001/tcp"] + "ports": ["1883:1883/tcp","9001:9001/tcp"], + "volumes": [ + { + "container": "/mosquitto" + } ] }, @@ -63,7 +67,15 @@ "image": "influxdb", "hostname": "influxdb", "restart_policy": "always", - "ports": ["8086:8086/tcp"] + "ports": ["8086:8086/tcp"], + "volumes": [ + { + "container": "/var/lib/grafana" + }, + { + "container": "/var/lib/influxdb" + } + ] } ] }