mirror of
https://github.com/simon987/Architeuthis.git
synced 2025-12-17 02:29:02 +00:00
dockerize app
This commit is contained in:
2
grafana/Dockerfile
Normal file
2
grafana/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM grafana/grafana
|
||||
COPY ./provisioning /etc/grafana/provisioning
|
||||
12
grafana/provisioning/dashboards/dashboard.yml
Normal file
12
grafana/provisioning/dashboards/dashboard.yml
Normal 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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
10
grafana/provisioning/datasources/datasource.yml
Normal file
10
grafana/provisioning/datasources/datasource.yml
Normal 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
|
||||
Reference in New Issue
Block a user