Skip to content

Commit 4e3bdb1

Browse files
committed
20210826 TICK - experimental branch - PR 3 of 3
Adds Chronograf and Kapacitor service definitions to complement Telegraf and InfluxDB, and complete the TICK stack. Assumes Chronograf may be added without Kapacitor (uncommenting relevant lines in Chronograf service definition is required to enable full integration). I made no attempt to create matching `build.js` and/or `config.js` scripts.
1 parent 293aedd commit 4e3bdb1

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
chronograf:
2+
container_name: chronograf
3+
image: chronograf:latest
4+
restart: unless-stopped
5+
environment:
6+
- TZ=Etc/UTC
7+
# see https://docs.influxdata.com/chronograf/v1.9/administration/config-options/
8+
- INFLUXDB_URL=http://influxdb:8086
9+
# - INFLUXDB_USERNAME=
10+
# - INFLUXDB_PASSWORD=
11+
# - INFLUXDB_ORG=
12+
# - KAPACITOR_URL=http://kapacitor:9092
13+
ports:
14+
- "8888:8888"
15+
volumes:
16+
- ./volumes/chronograf:/var/lib/chronograf
17+
depends_on:
18+
- influxdb
19+
# - kapacitor
20+
networks:
21+
- iotstack_nw
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
kapacitor:
2+
container_name: kapacitor
3+
image: kapacitor:1.5
4+
restart: unless-stopped
5+
environment:
6+
- TZ=Etc/UTC
7+
# see https://docs.influxdata.com/kapacitor/v1.6/administration/configuration/#kapacitor-environment-variables
8+
- KAPACITOR_INFLUXDB_0_URLS_0=http://influxdb:8086
9+
# - KAPACITOR_INFLUXDB_USERNAME=
10+
# - KAPACITOR_INFLUXDB_PASSWORD=
11+
# - KAPACITOR_HOSTNAME=kapacitor
12+
# - KAPACITOR_LOGGING_LEVEL=INFO
13+
# - KAPACITOR_REPORTING_ENABLED=false
14+
ports:
15+
- "9092:9092"
16+
volumes:
17+
- ./volumes/kapacitor:/var/lib/kapacitor
18+
depends_on:
19+
- influxdb
20+
networks:
21+
- iotstack_nw

0 commit comments

Comments
 (0)