From cf7dd827a7d13f681dc96a4eb743f07ecf52826d Mon Sep 17 00:00:00 2001 From: Julius Henke <github@gaigo.de> Date: Wed, 19 Jan 2022 09:29:23 +0100 Subject: [PATCH] docs: RENOVATE_CONFIG_FILE environment variable (#13350) Co-authored-by: Rhys Arkins <rhys@arkins.net> --- docs/usage/getting-started/running.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/usage/getting-started/running.md b/docs/usage/getting-started/running.md index 3b3f5b7a37..338cda4ffa 100644 --- a/docs/usage/getting-started/running.md +++ b/docs/usage/getting-started/running.md @@ -112,7 +112,9 @@ WhiteSource Renovate On-Premises and WhiteSource Remediate both run as long-live ### Global config -Renovate's server-side/admin config is referred to as its "global" config, and can be specified using either a config file (`config.js`, `config.json`, `config.json5`, `config.yaml` or `config.yml`), environment variables, or CLI parameters. +Renovate's server-side/admin config is referred to as its "global" config, and can be specified using either a config file, environment variables, or CLI parameters. +By default Renovate checks if a file named `config.js` is present. +Any other (`*.js`, `*.json`, `*.json5`, `*.yaml` or `*.yml`) file is supported, when you reference it with the `RENOVATE_CONFIG_FILE` environment variable (e.g. `RENOVATE_CONFIG_FILE=config.yaml`). Some config is global-only, meaning that either it is only applicable to the bot administrator or it can only be controlled by the administrator and not repository users. Those are documented in [Self-hosted Configuration](../self-hosted-configuration.md). -- GitLab