Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest restoring port variable in entrypoint.sh #10

Open
virtualarchitectures opened this issue Oct 2, 2022 · 0 comments
Open

Suggest restoring port variable in entrypoint.sh #10

virtualarchitectures opened this issue Oct 2, 2022 · 0 comments

Comments

@virtualarchitectures
Copy link

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 added a commit to virtualarchitectures/tig-stack that referenced this issue Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant