Skip to content

Suggest restoring port variable in entrypoint.sh #10

@virtualarchitectures

Description

@virtualarchitectures

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions