frdmn / docker-speedtest-grafana

🚢📦Grafana + InfluxDB + Speedtest.net results
MIT License
206 stars 71 forks source link

influxdb port option depricated ? #22

Open GadgetUK opened 3 years ago

GadgetUK commented 3 years ago

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
R32GUY commented 3 years ago

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?

GadgetUK commented 3 years ago

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.