Initall commit

This commit is contained in:
Jimmy Allen 2021-02-17 21:11:58 +13:00
parent 343b310064
commit 8a022dd35b
1 changed files with 38 additions and 0 deletions

38
docker-compose.yml Normal file
View File

@ -0,0 +1,38 @@
version: '3'
services:
# # Define a Telegraf service
# telegraf:
# image: telegraf:1.4.0
# volumes:
# - ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
# ports:
# - "8092:8092/udp"
# - "8094:8094"
# - "8125:8125/udp"
# links:
# - mosquitto
# Define an InfluxDB service
influxdb:
container_name: influxdb
image: influxdb
volumes:
- ./data/influxdb:/var/lib/influxdb
ports:
- "8086:8086"
environment:
- INFLUXDB_INIT_PWD="password"
- PRE_CREATE_DB="iot"
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
ports:
- 1884:1883
grafana:
container_name: grafana
image: grafana/grafana
ports:
- 3000:3000