Initall commit
This commit is contained in:
parent
343b310064
commit
8a022dd35b
|
@ -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
|
Loading…
Reference in New Issue