This addon provide an influxdb database to store data from homeassistant and/or use it for data retrieval.
This a wrapper around the official influxdb image.
The data are stored in the addon /data volume. You can create a backup with the influxd
command. See the documentation here and especialy the remote backups section.
To create the database on first run, you can use the http api :
curl -i -XPOST http://hassio.local:8086/query --data-urlencode "q=CREATE DATABASE home_assistant"
If this doesn't work, try to replace ̀hassio.local` with your hassio IP.
This variable can be used to set environment variable before launching influxdb, and thus setting configuration variable. The list of variables is here.
For exemple, to enable authentication :
{"env_var": [{"name": "INFLUXDB_HTTP_AUTH_ENABLED", "value": "true"}]}