Open mcandre opened 7 years ago
Hi @mcandre, you can run chronograf with a few options to tell it to reach your influxdb:
--influxdb-url= Location of your InfluxDB
instance [$INFLUXDB_URL]
--influxdb-username= Username for your InfluxDB
instance [$INFLUXDB_USERNAME]
--influxdb-password= Password for your InfluxDB
instance [$INFLUXDB_PASSWORD]
--kapacitor-url= Location of your Kapacitor
instance [$KAPACITOR_URL]
--kapacitor-username= Username of your Kapacitor
instance [$KAPACITOR_USERNAME]
--kapacitor-password= Password of your Kapacitor
instance [$KAPACITOR_PASSWORD]
So you'll probably want INFLUXDB_URL=http://influxdb:8086 and KAPACITOR_URL=http://kapacitor:9092
I'm trying to configure chronograf to point to influxdb via docker-compose, but when I open chronograf in my browser, it still prompts for influxdb connection details. Am I doing something wrong?
(The telegraf-compose:1.2 and chronograf:1.2beta images are technically custom images, built similarly to the official ones in order to fill gaps in the Docker Compose experience for the TICK stack, like defaulting the influxdb address from
localhost
toinfluxdb
for chronograf.)