diff --git a/Deployment/portainer-stack.json b/Deployment/portainer-stack.json index 71a9cdd..aa13a78 100644 --- a/Deployment/portainer-stack.json +++ b/Deployment/portainer-stack.json @@ -1,58 +1,103 @@ { - "version": "3", - "templates": [ + "version": "2", + "templates": [ + + { + "type": 1, + "title": "Garfana", + "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:latest-ubuntu", + "hostname": "grafana", + "restart_policy": "always", + "network": "host", + "volumes": [ { - "type": 1, - "title": "Registry", - "description": "Docker image registry", - "categories": ["docker"], - "platform": "linux", - "logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/registry.png", - "image": "eclipse-mosquitto", - "container_name": "mosquitto", - "ports": [ - "1883:1883", - "9001:9001" - ], - "volumes":[ - "./mosquitto-data:/mosquitto" - ] - }, - { - "type": 2, - "title": "Grafana", - "description": "Docker image grafana", - "categories": ["docker"], - "platform": "linux", - "logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png", - "image": "grafana/grafana", - "container_name": "grafana", - "ports": [ - "3000:3000" - ], - "env_file": [ - "grafana.env" - ], - "user": "0", - "volumes": [ - "./grafana-data:/var/lib/grafana" - ] - }, - { - "type": 3, - "title": "Influxdb", - "description": "Docker image influxdb", - "categories": ["docker"], - "platform": "linux", - "logo": "https://influxdata.github.io/branding/img/downloads/influxdata-logo--symbol--pool-alpha.png", - "image": "influxdb", - "container_name": "influxdb", - "ports": [ - "8086:8086" - ], - "volumes": [ - "./influxdb-data:/var/lib/influxdb" - ] - } - ] -} \ No newline at end of file + "container": "/var/lib/grafana", + "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", + "name": "mosquitto.bit.lan", + "description": "Docker image mosquito", + "categories": ["Docker"], + "platform": "linux", + "logo": "https://www.pinclipart.com/picdir/big/336-3369424_iot-eclipse-org-mqtt.png", + "administrator_only": false, + "image": "eclipse-mosquitto:2", + "hostname": "mosquitto", + "network": "host", + "restart_policy": "always", + "volumes": [ + { + "container": "/mosquitto/data", + "bind": "/srv/mosquitto.bit.lan/docker/data", + "readonly": false + }, + + { + "container": "/mosquitto/config", + "bind": "/srv/mosquitto.bit.lan/docker/config", + "readonly": false + } + , + + { + "container": "/mosquitto/log", + "bind": "/srv/mosquitto.bit.lan/docker/log", + "readonly": false + } + ], + "labels": [ + { "name": "com.centurylinklabs.watchtower.enable", "value": "true" } + ] + }, + + + + { + "type": 1, + "title": "influxdb", + "name": "influxdb.bit.lan", + "description": "Docker image influxdb", + "categories": ["Database"], + "platform": "linux", + "logo": "https://influxdata.github.io/branding/img/downloads/influxdata-logo--symbol--pool-alpha.png", + "administrator_only": false, + "image": "influxdb:2.1", + "network": "host", + "hostname": "influxdb", + "restart_policy": "always", + "volumes": [ + { + "container": "/var/lib/influxdb2", + "bind": "/srv/influxdb.bit.lan/data", + "readonly": false + } + ], + "labels": [ + { "name": "com.centurylinklabs.watchtower.enable", "value": "true" } + ] + } + ] + } \ No newline at end of file