added defaults

This commit is contained in:
root
2023-11-20 21:33:00 -06:00
parent 3801944fac
commit 6eb8b7943b
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ positions:
filename: /tmp/positions.yaml
clients:
- url: http://${LOKI_HOST}:3100/loki/api/v1/push
- url: http://${LOKI_HOST:-loki}:3100/loki/api/v1/push
scrape_configs:
- job_name: flog_scrape

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://${INFLUX_HOST}:8086"]
urls = ["http://${INFLUX_HOST:-influxdb}:8086"]
## Token for authentication.
token = "$INFLUX_WRITE_TOKEN"