Skip to content

Instantly share code, notes, and snippets.

@eydam-prototyping

eydam-prototyping/docker-compose.yml Secret

Last active Jan 30, 2021
Embed
What would you like to do?
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