Responded on Slack, but for anyone else who finds this issue:
The 2.x DockerHub image stores its data at /var/lib/influxdb2
and configs at /etc/influxdb2
. Your mount-point needs to be updated to match:
- ./influxdb:/var/lib/influxdb2
- ./influxdb/etc/influxdb2:/etc/influxdb2