tig-stack icon indicating copy to clipboard operation
tig-stack copied to clipboard

Suggest restoring port variable in entrypoint.sh

Open virtualarchitectures opened this issue 1 year ago • 0 comments

Hi, I've just tested this. I believe --host http://${DOCKER_INFLUXDB_INIT_HOST}:8086 needs to be changed back to --host http://${DOCKER_INFLUXDB_INIT_HOST}:${DOCKER_INFLUXDB_INIT_PORT}. Otherwise Grafana fails to connect to connect to InfluxDB when a different port is specified for DOCKER_INFLUXDB_INIT_PORT in the .env file.

During testing I noted that Grafana seems to ignore the changed port and always requires that url http://influxdb/8086 be specified in the Grafana data source UI, even if DOCKER_INFLUXDB_INIT_PORT is set to something else like 8087. I imagine that's because Grafana is connecting directly to Influx via Docker's internal network.

Hope that's useful.

virtualarchitectures avatar Oct 02 '22 15:10 virtualarchitectures