Update 'Deployment/portainer-stack.json'
This commit is contained in:
@@ -1,58 +1,103 @@
|
|||||||
{
|
{
|
||||||
"version": "3",
|
"version": "2",
|
||||||
"templates": [
|
"templates": [
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"title": "Registry",
|
"title": "Garfana",
|
||||||
"description": "Docker image registry",
|
"name": "grafana.bit.lan",
|
||||||
"categories": ["docker"],
|
"description": "Docker monitoring tool grafana",
|
||||||
"platform": "linux",
|
"categories": ["Monitoring"],
|
||||||
"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",
|
"platform": "linux",
|
||||||
"logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png",
|
"logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png",
|
||||||
"image": "grafana/grafana",
|
"administrator_only": false,
|
||||||
"container_name": "grafana",
|
"image": "grafana/grafana:latest-ubuntu",
|
||||||
"ports": [
|
"hostname": "grafana",
|
||||||
"3000:3000"
|
"restart_policy": "always",
|
||||||
],
|
"network": "host",
|
||||||
"env_file": [
|
|
||||||
"grafana.env"
|
|
||||||
],
|
|
||||||
"user": "0",
|
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"./grafana-data:/var/lib/grafana"
|
{
|
||||||
]
|
"container": "/var/lib/grafana",
|
||||||
|
"bind": "/srv/grafana.bit.lan/data",
|
||||||
|
"readonly": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": 3,
|
"container": "/etc/grafana",
|
||||||
"title": "Influxdb",
|
"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",
|
"description": "Docker image influxdb",
|
||||||
"categories": ["docker"],
|
"categories": ["Database"],
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"logo": "https://influxdata.github.io/branding/img/downloads/influxdata-logo--symbol--pool-alpha.png",
|
"logo": "https://influxdata.github.io/branding/img/downloads/influxdata-logo--symbol--pool-alpha.png",
|
||||||
"image": "influxdb",
|
"administrator_only": false,
|
||||||
"container_name": "influxdb",
|
"image": "influxdb:2.1",
|
||||||
"ports": [
|
"network": "host",
|
||||||
"8086:8086"
|
"hostname": "influxdb",
|
||||||
],
|
"restart_policy": "always",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"./influxdb-data:/var/lib/influxdb"
|
{
|
||||||
|
"container": "/var/lib/influxdb2",
|
||||||
|
"bind": "/srv/influxdb.bit.lan/data",
|
||||||
|
"readonly": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"labels": [
|
||||||
|
{ "name": "com.centurylinklabs.watchtower.enable", "value": "true" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user