using environment variables

This commit is contained in:
root
2023-11-20 21:25:54 -06:00
parent 739fb64a42
commit 3801944fac
4 changed files with 18 additions and 5 deletions

View File

@@ -80,7 +80,7 @@
## Multiple URLs can be specified for a single cluster, only ONE of the
## urls will be written to each interval.
## ex: urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]
urls = ["http://influxdb:8086"]
urls = ["http://${INFLUX_HOST}:8086"]
## Token for authentication.
token = "$INFLUX_WRITE_TOKEN"