dockerize app

This commit is contained in:
2020-01-03 12:25:24 -05:00
parent 816874772e
commit 482ffe960f
9 changed files with 93 additions and 16 deletions

2
grafana/Dockerfile Normal file
View File

@@ -0,0 +1,2 @@
FROM grafana/grafana
COPY ./provisioning /etc/grafana/provisioning

View File

@@ -0,0 +1,12 @@
apiVersion: 1
providers:
- name: 'Architeuthis'
orgId: 1
folder: ''
type: file
disableDeletion: false
updateIntervalSeconds: 10
options:
path: /etc/grafana/provisioning/dashboards/model.json

View File

@@ -15,7 +15,7 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 1,
"id": null,
"links": [],
"panels": [
{
@@ -774,5 +774,5 @@
"timezone": "",
"title": "Architeuthis",
"uid": "I2xEOnbZk",
"version": 11
"version": 1
}

View File

@@ -0,0 +1,10 @@
datasources:
- access: 'proxy'
editable: true
is_default: true
name: 'influx'
org_id: 1
type: 'influxdb'
url: 'http://influxdb:8086'
database: 'architeuthis'
version: 1