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.9
: InfluxDB 1.9.111.10
: InfluxDB 1.10.3
/var/log/influxdb
: Log files whenLOG_TO_STDOUT
is not set to1
./data
: Data files. Persist this volume to not lose state.
LOG_TO_STDOUT
: If set to1
output 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.