https://gitlab.com/tozd/docker/influxdb
Available as:
tozd/base ← tozd/dinit ← tozd/influxdb
1.2: InfluxDB 1.2.41.3: InfluxDB 1.3.91.4: InfluxDB 1.4.31.5: InfluxDB 1.5.51.6: InfluxDB 1.6.61.7: InfluxDB 1.7.111.8: InfluxDB 1.8.101.11: InfluxDB 1.11.8
/var/log/influxdb: Log files whenLOG_TO_STDOUTis not set to1./data: Data files. Persist this volume to not lose state.
LOG_TO_STDOUT: If set to1output logs to stdout (retrievable usingdocker logs) instead of log volumes.
8086/tcp: HTTP port for InfluxDB HTTP endpoints.
You can mount InfluxDB's influxdb.toml file into /etc/influxdb/influxdb.toml inside the container or extend the image.
See the file in the image to see how it is configured by default.
When LOG_TO_STDOUT is set to 1, Docker image logs output to stdout and stderr. All stdout output is JSON.
From InfluxDB 1.5 on also stored logs are JSON.
There is also a read-only GitHub mirror available, if you need to fork the project there.