-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
47 lines (44 loc) · 1.34 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '2'
volumes:
influxdbiotwind:
services:
influxdb:
image: library/influxdb
restart: always
container_name: influxdbiotwind
ports:
- "28086:8086"
volumes:
- influxdbiotwind:/var/lib/influxdb
environment:
- INFLUXDB_DB=iotwind
# Automatically initializes a database with the name of this environment variable.
# - INFLUXDB_HTTP_AUTH_ENABLED=true
# - INFLUXDB_ADMIN_USER=influxadmin
# - INFLUXDB_ADMIN_PASSWORD=
# - INFLUXDB_USER=ifxusr
# - INFLUXDB_USER_PASSWORD=
# - INFLUXDB_READ_USER=INFLUXDB_USER=iflxusrr
# - INFLUXDB_READ_USER_PASSWORD=
# - INFLUXDB_WRITE_USER=ifxusrw
# - INFLUXDB_WRITE_USER_PASSWORD=
chronograf:
image: chronograf
restart: always
container_name: chronografiotwind
ports:
- "28888:8888"
grafana:
# may need a fixed version, otherwise it is current master branch
image: grafana/grafana
restart: always
container_name: grafanaiotwind
ports:
- "28080:3000"
mosquitto:
image: eclipse-mosquitto
container_name: mosquittoiotwind
restart: always
ports:
- "21883:1883"
- "29001:9001"