Update grafana stack
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3.9'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:8.4.5
|
image: grafana/grafana
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/nick/configs/grafana/grafana:/var/lib/grafana
|
- /home/nick/configs/grafana/grafana:/var/lib/grafana
|
||||||
@@ -34,12 +34,18 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
influxdb:
|
influxdb:
|
||||||
image: influxdb:1.8
|
image: influxdb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/nick/configs/grafana/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf
|
- /home/nick/configs/grafana/influxdb2/db:/var/lib/influxdb2
|
||||||
- /home/nick/configs/grafana/influxdb/db:/var/lib/influxdb
|
- /home/nick/configs/grafana/influxdb2/conf:/etc/influxdb2
|
||||||
environment:
|
environment:
|
||||||
|
DOCKER_INFLUXDB_INIT_USERNAME: grafana
|
||||||
|
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_PASSWORD}
|
||||||
|
DOCKER_INFLUXDB_INIT_ORG: grafana
|
||||||
|
DOCKER_INFLUXDB_INIT_BUCKET: grafana
|
||||||
|
DOCKER_INFLUXDB_INIT_RETENTION: 365d
|
||||||
|
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_PASSWORD}
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
|
|
||||||
@@ -70,18 +76,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- influxdb
|
- influxdb
|
||||||
|
|
||||||
speedtest:
|
|
||||||
image: atribe/speedtest-for-influxdb-and-grafana
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /home/nick/configs/grafana/speedtest/config.ini:/src/config.ini
|
|
||||||
- /home/nick/configs/grafana/speedtest/speedtest.py:/usr/local/lib/python3.7/site-packages/speedtest.py
|
|
||||||
environment:
|
|
||||||
PGID: 1000
|
|
||||||
PUID: 1000
|
|
||||||
depends_on:
|
|
||||||
- influxdb
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
routing:
|
routing:
|
||||||
external: true
|
external: true
|
||||||
|
Reference in New Issue
Block a user