Skip to content

Instantly share code, notes, and snippets.

@eydam-prototyping
Last active January 30, 2021 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eydam-prototyping/d27b8ed6d7c5a2e738d157f13e6b47d8 to your computer and use it in GitHub Desktop.
Save eydam-prototyping/d27b8ed6d7c5a2e738d157f13e6b47d8 to your computer and use it in GitHub Desktop.
version: '3'
services:
mosquitto:
image: 'eclipse-mosquitto:latest'
ports:
- '1883:1883'
influxdb:
image: 'influxdb:latest'
ports:
- '8086:8086'
volumes:
- 'vol_influxdb:/var/lib/influxdb'
environment:
- INFLUXDB_DB=telegraf
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
telegraf:
image: 'telegraf:latest'
volumes:
- '/home/pi/docker/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf'
environment:
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
depends_on:
- influxdb
grafana:
image: 'grafana/grafana:latest'
ports:
- '3000:3000'
volumes:
- '/home/pi/docker/grafana/grafana.ini:/etc/grafana/grafana.ini'
- 'vol_grafana_var:/var/lib/grafana'
- 'vol_grafana_etc:/etc/grafana/'
depends_on:
- influxdb
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
iobroker:
image: 'buanet/iobroker:latest'
ports:
- '8081:8081'
- '8082:8082'
volumes:
- 'vol_iobroker:/opt/iobroker'
volumes:
vol_influxdb:
vol_telegraf:
vol_grafana_var:
vol_grafana_etc:
vol_iobroker:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment