From bd2a7ddf7cf8ce0760680bdcd4f3584db1b73c73 Mon Sep 17 00:00:00 2001 From: ShankarMounesh Date: Fri, 29 Apr 2022 09:59:12 +0000 Subject: [PATCH] Update 'Deploment/deployment.json' --- Deploment/deployment.json | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/Deploment/deployment.json b/Deploment/deployment.json index 1764117..51fa0a5 100644 --- a/Deploment/deployment.json +++ b/Deploment/deployment.json @@ -2,27 +2,42 @@ "version": "2", "templates": [ { + + // grafana configuration + + "type": 1, "title": "Garfana", - "name": "grafana", + "name": "grafana.bit.lan", "description": "Docker monitoring tool grafana", "categories": ["Monitoring"], "platform": "linux", "logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png", "administrator_only": false, - "image": "grafana/grafana", + "image": "grafana/grafana:latest-ubuntu", "hostname": "grafana", - "ports": ["3000:3000/tcp"], - "restart_policy": "unless-stopped", - "volumes": [ + "restart_policy": "always", + "network": "host", + "volumes": [ { "container": "/var/lib/grafana", - "bind": "/srv/grafana-data", - "readonly": true - + "bind": "/srv/grafana.bit.lan/data", + "readonly": false + }, + { + "container": "/etc/grafana", + "bind": "/srv/grafana.bit.lan/conf", + "readonly": false } - ] + ], + + "labels": [ + { "name": "com.centurylinklabs.watchtower.enable", "value": "true" } + ] }, + + + { "type": 1, "title": "mosquitto", @@ -35,7 +50,7 @@ "image": "eclipse-mosquitto", "hostname": "mosquitto", "ports": ["1883:1883/tcp","9001:9001/tcp"], - "restart_policy": "unless-stopped", + "restart_policy": "always", "volumes": [ { "container": "/mosquitto", @@ -62,7 +77,7 @@ "image": "influxdb", "hostname": "influxdb", "ports": ["8086:8086/tcp"], - "restart_policy": "unless-stopped", + "restart_policy": "always", "volumes": [ { "container": "/var/lib/influxdb",