Update 'Deploment/deployment.json'
This commit is contained in:
+35
-14
@@ -1,23 +1,41 @@
|
|||||||
{
|
{
|
||||||
"version": "2",
|
"version": "2",
|
||||||
"templates": [
|
"templates": [
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"title": "Grafana",
|
"title": "Grafana",
|
||||||
|
"description": "Grafana docker swarm service",
|
||||||
|
"categories": ["monitoring"],
|
||||||
"name": "grafana.bit.lan",
|
"name": "grafana.bit.lan",
|
||||||
"description": "Docker monitoring tool grafana",
|
|
||||||
"categories": ["Monitoring"],
|
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"logo": "https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/grafana.png",
|
"logo": "https://cloudinovasi.id/assets/img/logos/cockroachdb.png",
|
||||||
"administrator_only": false,
|
"privileged": true,
|
||||||
"image": "grafana/grafana:latest-ubuntu",
|
|
||||||
"hostname": "grafana",
|
"hostname": "grafana",
|
||||||
"restart_policy": "always",
|
"restart_policy": "always",
|
||||||
"network": "host",
|
"administrator_only": false,
|
||||||
"ports": ["3000:3000/tcp"],
|
"env": [
|
||||||
"command": "/bin/bash -c \"sudo chown -R 472:472 /srv/grafana.bit.lan/data\" && exit 777",
|
{
|
||||||
"privileged": true,
|
"name": "GF_USERS_ALLOW_SIGN_UP",
|
||||||
|
"default": "false",
|
||||||
|
"preset": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "GF_SERVER_PROTOCOL",
|
||||||
|
"default": "https",
|
||||||
|
"preset": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "GF_SERVER_CERT_FILE",
|
||||||
|
"default": "/var/lib/grafana/grafana.crt",
|
||||||
|
"preset": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "GF_SERVER_CERT_KEY",
|
||||||
|
"default": "/var/lib/grafana/grafana.key",
|
||||||
|
"preset": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
"container": "/var/lib/grafana",
|
"container": "/var/lib/grafana",
|
||||||
@@ -30,12 +48,15 @@
|
|||||||
"readonly": false
|
"readonly": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"labels": [
|
"ports": [
|
||||||
|
"3000:3000/tcp"
|
||||||
|
],
|
||||||
|
"image": "grafana/grafana",
|
||||||
|
"labels": [
|
||||||
{ "name": "com.centurylinklabs.watchtower.enable", "value": "true" }
|
{ "name": "com.centurylinklabs.watchtower.enable", "value": "true" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": 1,
|
"type": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user