The purpose of this docker image is to provide an image for Debian and arm32v7 (Raspberry Pi).
Description | Value |
---|---|
OS | debian | arm32v7 |
InfluxDB | 1.6.4 |
Telegraf | 1.8.2 |
Grafana | 5.3.2 |
Start the container by running the following command:
docker run -d \
--name influxdb-grafana \
--restart unless-stopped \
-p 3003:3003 \
-p 8086:8086 \
-v /path/for/influxdb:/var/lib/influxdb \
-v /path/for/grafana:/var/lib/grafana \
-e "GF_SECURITY_ADMIN_USER=<YOU_USERNAME_HERE>" \
-e "GF_SECURITY_ADMIN_PASSWORD=<YOU_PASSWORD_HERE>" \
dcsg/influxdb-grafana-telegraf:arm32v7-1.0.2
Start the container by running the following command:
docker run -d \
--name influxdb-grafana \
--restart unless-stopped \
-p 3003:3003 \
-p 8086:8086 \
-v /path/for/influxdb:/var/lib/influxdb \
-v /path/for/grafana:/var/lib/grafana \
-e "GF_SECURITY_ADMIN_USER=<YOU_USERNAME_HERE>" \
-e "GF_SECURITY_ADMIN_PASSWORD=<YOU_PASSWORD_HERE>" \
dcsg/influxdb-grafana-telegraf:debian-1.0.2
To stop the container launch:
docker stop influxdb-grafana
To start the container again launch:
docker start influxdb-grafana
Host | Container | Service |
---|---|---|
3003 | 3003 | grafana |
8086 | 8086 | influxdb |
docker exec -it influxdb-grafana bash
Username: <User defined in Environment Variable>
Password: <Password defined in Environment Variable>
- Using the wizard click on
Add data source
- Choose a
name
for the source and flag it asDefault
- Choose
InfluxDB
astype
- Fill
URL
withhttp://localhost:8086
- Choose
Server (Default)
asaccess
- Fill the database and the remaining fields and click
Save & Test
.
Basic auth and credentials must be left unflagged. Proxy is not required.
Now you are ready to add your first dashboard and launch some queries on a database.
docker exec -it influxdb-grafana influx