docker-speedtest-grafana icon indicating copy to clipboard operation
docker-speedtest-grafana copied to clipboard

influxdb port option depricated ?

Open GadgetUK opened this issue 4 years ago • 3 comments

GadgetUK avatar Jan 31 '21 23:01 GadgetUK

I previously had the following .env file, attempting to deploy latest version on a new host already running influxdb for another application now gives an error

Starting dockerspeedtestgrafana_influxdb_1

ERROR: for influxdb  Cannot start service influxdb: driver failed programming external connectivity on endpoint dockerspeedtestgrafana_influxdb_1 (e7e3ee9b4b7edc08f1d139e980128c9b041e78f4b1cd727e829e944e038cc986): Bind for 0.0.0.0:8086 failed: port is already allocated

.env file

GRAFANA_PORT=3002
INFLUX_PORT=8088
SPEEDTEST_SPEEDTEST_INTERVAL=600
SPEEDTEST_HOST=local

GadgetUK avatar Jan 31 '21 23:01 GadgetUK

you may find it's a port clash issue try a different range to see if that works or revert your .env file back to the sample one does that work?

R32GUY avatar Feb 04 '21 10:02 R32GUY

The issue is I think, the env file specifies the Influx port as 8088, yet the influxdb server tires to start on 8086 (standard port iirc). So the .env file setting isn't being honoured.

GadgetUK avatar Feb 04 '21 10:02 GadgetUK