Julien Riou
51374e9a92
- Update Telegraf to 1.19.2 - Use Flexpool API v2 - Update Flexpool miner, pool and worker dashboards accordingly - Add COIN environment variable for Telegraf ("eth" or "xch" supported) - Add coin variable in Grafana dashboards BREAKING CHANGE: measurement names change between API v1 and v2 so the Grafana dashboards must be updated accordingly to use new names. Values in the past will not be shown by the updated dashboards. Signed-off-by: Julien Riou <julien@riou.xyz>
47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
---
|
|
version: "2"
|
|
services:
|
|
influxdb:
|
|
container_name: influxdb
|
|
env_file:
|
|
- ./docker/environment
|
|
image: influxdb:1.7.10
|
|
ports:
|
|
- "8083:8083"
|
|
- "8086:8086"
|
|
volumes:
|
|
- ./docker/ssl:/etc/ssl/self-signed
|
|
- influxdb-storage:/var/lib/influxdb
|
|
restart: always
|
|
|
|
grafana:
|
|
container_name: grafana
|
|
env_file:
|
|
- ./docker/environment
|
|
image: grafana/grafana:7.3.7
|
|
volumes:
|
|
- grafana-storage:/var/lib/grafana
|
|
ports:
|
|
- "3000:3000"
|
|
links:
|
|
- "influxdb:influxdb"
|
|
restart: always
|
|
|
|
telegraf:
|
|
container_name: telegraf
|
|
entrypoint: telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
|
|
env_file:
|
|
- ./docker/environment
|
|
image: telegraf:1.19.2
|
|
volumes:
|
|
- ./docker/telegraf.conf:/etc/telegraf/telegraf.conf
|
|
- ./telegraf:/etc/telegraf/telegraf.d
|
|
links:
|
|
- "influxdb:influxdb"
|
|
restart: always
|
|
|
|
volumes:
|
|
influxdb-storage:
|
|
driver: local
|
|
grafana-storage:
|
|
driver: local
|