I am not able to get influxdbv2 up and running with docker and a self signed certificate. I would love to leave it out, but unfortunately hassio demands a secure implementation.
i basically followed this Guide here:
I shared the certificates with the container, but i think the problem lies within the environment variables of the container. I tried some different things but basically i did not find a list of all the valid environment variables. So i tried these here: InfluxDB configuration options | InfluxDB OSS 2.0 Documentation
But they won’t work either.
This is my docker-compose config so far:
# INFLUXDB influxdb: container_name: influxdbv2 image: influxdb:latest ports: - $INFLUXDB_PORT:8086 volumes: # - $DOCKERDIR/influxdbv2/influxdb:/var/lib/influxdb - $DOCKERDIR/influx/data:/var/lib/influxdb2 - $DOCKERDIR/influx/config:/etc/influxdb2 - $DOCKERDIR/influx/cert:/etc/ssl/ environment: - DOCKER_INFLUXDB_INIT_MODE=setup - DOCKER_INFLUXDB_INIT_USERNAME=$INFLUXDB_ADMIN_USERNAME - DOCKER_INFLUXDB_INIT_PASSWORD=$INFLUXDB_ADMIN_PASSWORD - DOCKER_INFLUXDB_INIT_ORG=$INFLUXDB_ORG - DOCKER_INFLUXDB_INIT_BUCKET=$INFLUXDB_BUCKETNAME # - INFLUXDB_HTTP_HTTPS_ENABLED=true - INFLUXD_TSL_CERT=/etc/ssl/influxdb-selfsigned.crt - INFLUXD_TSL_KEY=/etc/ssl/influxdb-selfsigned.key
Thanks in advance!