Where can I find config options of InfluxDB?

I run influxdb with docker image and open /etc/influxdb/influxdb.conf.
That file contains a few lines.

[meta]
  dir = "/var/lib/influxdb/meta"

[data]
  dir = "/var/lib/influxdb/data"
  engine = "tsm1"
  wal-dir = "/var/lib/influxdb/wal"

But document says “Most of the settings in the local configuration file ( /etc/influxdb/influxdb.conf ) are commented out”.


I can’t find any commented configuration.
InfluxDB first checks for the -config option and then for the environment variable.

Have a look at the env variables since they are often used in Docker containers.

About getting all the options, any value not specified will use it’s default value, stored in the influxDB internal configuration.

You can print it out using

influxd config

just redirect the output to a file and that’s it.