From f4811d9fc8490acfdc05a17143dd65de1d28f721 Mon Sep 17 00:00:00 2001 From: John Ritsema Date: Sat, 25 Feb 2023 11:38:39 -0500 Subject: [PATCH] list all replaceable values --- docs/docs/configuration/index.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 7b6b018962..8894cc57c9 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -37,7 +37,22 @@ It is not recommended to copy this full configuration file. Only specify values ::: -**Note:** Environment variable substitution is only supported for MQTT password and camera ffmpeg paths. Only environment variables starting with `FRIGATE_` will be used. For example, `{FRIGATE_MQTT_PASSWORD}`, `{FRIGATE_RTSP_USER}`, `{FRIGATE_RTSP_PASSWORD}`. +**Note:** The following values will be replaced at runtime by using environment variables + +- `{FRIGATE_MQTT_USER}` +- `{FRIGATE_MQTT_PASSWORD}` +- `{FRIGATE_RTSP_USER}` +- `{FRIGATE_RTSP_PASSWORD}` + +for example: +```yaml +mqtt: + user: "{FRIGATE_MQTT_USER}" + password: "{FRIGATE_MQTT_PASSWORD}" +``` +```yaml +- path: rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:8554/unicast +``` ```yaml mqtt: