grafana
This commit is contained in:
parent
8f641799f6
commit
eb6faa9e46
|
|
@ -1,41 +1,26 @@
|
|||
version: '2'
|
||||
services:
|
||||
influxdb:
|
||||
image: influxdb:latest
|
||||
ports:
|
||||
- '8086:8086'
|
||||
container_name: influxdb
|
||||
image: influxdb:2.0
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- influxdb-storage:/var/lib/influxdb
|
||||
environment:
|
||||
- INFLUXDB_DB=db0
|
||||
- INFLUXDB_ADMIN_USER=${INFLUXDB_USERNAME}
|
||||
- INFLUXDB_ADMIN_PASSWORD=${INFLUXDB_PASSWORD}
|
||||
chronograf:
|
||||
image: chronograf:latest
|
||||
- ./influxdb:/var/lib/influxdb2
|
||||
ports:
|
||||
- '8888:8888'
|
||||
volumes:
|
||||
- chronograf-storage:/var/lib/chronograf
|
||||
depends_on:
|
||||
- influxdb
|
||||
environment:
|
||||
- INFLUXDB_URL=http://influxdb:8086
|
||||
- INFLUXDB_USERNAME=${INFLUXDB_USERNAME}
|
||||
- INFLUXDB_PASSWORD=${INFLUXDB_PASSWORD}
|
||||
grafana:
|
||||
image: grafana/grafana:latest
|
||||
ports:
|
||||
- '3003:3000'
|
||||
volumes:
|
||||
- grafana-storage:/var/lib/grafana
|
||||
- ./grafana-provisioning:/etc/grafana/provisioning
|
||||
depends_on:
|
||||
- influxdb
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=${GRAFANA_USERNAME}
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
|
||||
volumes:
|
||||
influxdb-storage:
|
||||
chronograf-storage:
|
||||
grafana-storage:
|
||||
- 8086:8086
|
||||
|
||||
grafana:
|
||||
container_name: grafana
|
||||
image: grafana/grafana:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./grafana:/var/lib/grafana # NOTE: must run "chown -R 472:472 /volume1/docker/grafana"
|
||||
depends_on:
|
||||
- influxdb
|
||||
ports:
|
||||
- 3003:3000
|
||||
environment:
|
||||
# for embedding in HA
|
||||
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
||||
- GF_AUTH_ANONYMOUS_ENABLED=true
|
||||
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
||||
- GF_SECURITY_ALLOW_EMBEDDING=true
|
||||
|
|
|
|||
|
|
@ -85,10 +85,10 @@ influxdb:
|
|||
host: ubuntu
|
||||
port: 8086
|
||||
ssl: false
|
||||
token: "Lmyu3GBe84Uz-V5fNcLzJbvrItP2-7WtgbLjzlgdD_WlDWM3AF56AznH6EXpPZs1l-8pBp99s4Ugl0LEK5Jvgg=="
|
||||
token: "MjGXMQ8jLgHIZO9XnsvNS2PcmHGPpBv8Sw4bOQ3zHlPXWqho7XdB2noCJTCvrLeyUutlzeVFGessITIohVGJsg=="
|
||||
api_version: 2
|
||||
max_retries: 3
|
||||
organization: 6fdc5094c8d82263
|
||||
organization: 2d63e573ec9147ee
|
||||
bucket: homeassistant
|
||||
tags:
|
||||
source: HA
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
## Content
|
||||
### Ich bin noch ein Content
|
||||
|
||||
Ich bin ein lustiger Fließtext und mache *nicht* **viel** Sinn!
|
||||
|
||||
Aber es geht einiges.
|
||||
|
||||
* Aufzählung
|
||||
* Zwei
|
||||
* Drei
|
||||
|
||||
`Und eine Codezeile.`
|
||||
|
|
@ -20,5 +20,11 @@
|
|||
|
||||
[Pihole](http://192.168.178.119/admin)
|
||||
|
||||
[Grafana](http://ubuntu.fritz.box:3003/)
|
||||
|
||||
[Influx](http://ubuntu.fritz.box:8086)
|
||||
|
||||
https://www.reddit.com/r/homeassistant/comments/oje65v/home_assitant_with_grafana_and_influxdb_2x_basic/
|
||||
|
||||
### Probleme / TODOs
|
||||
* Nach dem Neustart des Servers funktioniert der zigbee stick nicht! In Proxmox entfernen und wieder hinzufügen.
|
||||
|
|
|
|||
Loading…
Reference in New Issue