Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Latest commit

 

History

History
71 lines (54 loc) · 2.26 KB

README.md

File metadata and controls

71 lines (54 loc) · 2.26 KB

InfluxDB Grafana

Influxdb Grafana Chronograf

code-language code-size last-commit ci

AMD64

license

Usage

Here are some example snippets to help you get started creating and running a container.

docker

docker run -d \
  --name=influx-graf \
  -e PUID=1000 \
  -e PGID=1000 \
  -p 8086:8086 \ #influxdb HTTP API port
  -p 3000:3000 \ #grafana webinterface
  -p 8083:8083 \ #chronograf webinterface
  -v path to data:/var/lib/influxdb \ #makes InfluxDB data and db's persistent
  -v path to data:/var/lib/grafana \ #makes Grafana data and db's persistent
  --restart unless-stopped \
  ghcr.io/frepke/influxdb-grafana

docker-compose

Compatible with docker-compose v3 schemas.

---
version: "3"
services:
  influx-graf:
    image: ghcr.io/frepke/influxdb-grafana
    container_name: influx-graf:
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - path to data:/var/lib/influxdb \ #makes InfluxDB data and db's persistent
      - path to data:/var/lib/grafana \ #makes Grafana data and db's persistent
    ports:
      - 8086:8086 \ #influxdb HTTP API port
      - 3000:3000 \ #grafana webinterface
    restart: unless-stopped

Grafana

Open http://localhost:3000

username: admin
password: admin