Set Up InfluxDB External Connection
Note
Make sure that the version of the external service matches the version specified in the docker-compose.yml
file.
Set up the following parameters in the InfluxDB configuration file:
max-series-per-database = 0 max-values-per-tag = 0
In the
docker-compose.yml
file, comment or delete the section with the service (influxdb
) you want to replace with an external one. Comment or delete all dependencies on other containers (all instances of the service in the sectiondepends_on
), and the volume of the service (influx-volume
) in thevolumes
list.In the
.env
file, specify the connection data for the external database, whereexternal-server
is the IP address or the DNS name of the server with InfluxDB installed.INFLUX_CONNECTION_STRING=http://external-server:8086
Reinstall TestGear:
docker-compose -f docker-compose.yml --project-name prod up --detach --timeout 120 --remove-orphans