From 63b944497180742e08f9b0ea333a1fda28f819a1 Mon Sep 17 00:00:00 2001 From: ShankarMounesh Date: Fri, 29 Apr 2022 06:54:14 +0000 Subject: [PATCH] Update 'Deploment/portainer-stack.json' --- Deploment/portainer-stack.json | 35 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/Deploment/portainer-stack.json b/Deploment/portainer-stack.json index a8fbfb6..5672dd6 100644 --- a/Deploment/portainer-stack.json +++ b/Deploment/portainer-stack.json @@ -1,23 +1,18 @@ { - "version": "2", - "templates": [ + "type": 1, + "title": "grafana", + "description": "Grafana docker swarm service", + "categories": ["monitoring"], + "platform": "linux", + "logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png", + "volumes": [ { - "type": 1, - "title": "grafana", - "description": "Grafana docker swarm service", - "categories": ["monitoring"], - "platform": "linux", - "logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png", - "volumes": [ - { - "container": "/var/lib/grafana", - "bind": "/grafana_data" - } - ], - "ports": [ - "3000:3000/tcp" - ], - "image": "grafana/grafana" - } - ] + "container": "/var/lib/grafana", + "bind": "/swarm/volumes/grafana_data" + } + ], + "ports": [ + "3000:3000/tcp" + ], + "image": "grafana/grafana:master" } \ No newline at end of file