-
Notifications
You must be signed in to change notification settings - Fork 302
Description
Hi,
I tried out IOTstack (after seeing it referenced in Andreas Spiess' video) and it's great ... except for one small problem - I keep getting errors when I try to use telegraf ... (n.b.: I had used the old install routine originally, but have now moved over to this repo according to the doc on how to change over - same error before and after)
root@raspi4:~/IOTstack# docker-compose up -d
ERROR: yaml.parser.ParserError: while parsing a block mapping
in "./docker-compose.yml", line 68, column 5
expected <block end>, but found '<block sequence start>'
in "./docker-compose.yml", line 75, column 7
Line 68 is the first "container_name: telegraf" line right after the "telegraf:" entry. If I move the whole block to somewhere else in the file, the error line moves; removing it lets docker-compose run through successfully, so it's definitely something in the telegraf block.
telegraf:
container_name: telegraf
image: telegraf
volumes:
- ./services/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
depends_on:
- cadvisor-arm
- node-exporter
- influxdb
- mosquitto
The yaml file is used right out of the generation by menu.sh, nothing was originally edited or changed ...
Sorry, not really learned about yaml files, I reckon it's probably something minor ...