/
04_telemetry.clab.yaml
27 lines (26 loc) · 1019 Bytes
/
04_telemetry.clab.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
# 04_telemetry.clab.yaml
name: 04_telemetry
topology:
nodes:
# InfluxDB ------------------------------------------------------------------------
influxDB:
kind: linux
image: influxdb:latest
ports:
## This port will be used for Telegraf to connect to
- 8086:8086
env:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: influx_super
DOCKER_INFLUXDB_INIT_PASSWORD: 1020304050607
DOCKER_INFLUXDB_INIT_ORG: test_org
DOCKER_INFLUXDB_INIT_BUCKET: test_bucket
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: "Df-veQgYbF i m40KZfT×q1zHUN3- - IRV4WTHdfXsK_ SUNCiX6171pjGZMHOgYl jmgG-BiwMprBLocpX4L82xg=="
# Telegraf ------------------------------------------------------------------------
telegraf:
kind: linux
image: telegraf:latest
binds:
- template_config/telegraf.conf:/etc/telegraf/telegraf.conf:ro
ports:
- 57000:57000