1
0
mirror of https://github.com/TwiN/gatus.git synced 2026-02-04 11:11:44 +00:00

docs: information on escaping endpoint url in config (#1242)

* Update README.md with information on escaping endpoint url in configuration

Clarify usage of environment variables in configuration file and provide guidance for escaping special characters.

* Update README.md

Move comment about escaping to the section with env variables.
This commit is contained in:
Sebastian
2025-09-16 22:29:09 +02:00
committed by GitHub
parent 0f2b486623
commit 412b6d30a4

View File

@@ -234,6 +234,8 @@ subdirectories are merged like so:
> 💡 You can also use environment variables in the configuration file (e.g. `$DOMAIN`, `${DOMAIN}`)
>
> See [examples/docker-compose-postgres-storage/config/config.yaml](.examples/docker-compose-postgres-storage/config/config.yaml) for an example.
>
> When your configuration parameter contains a `$` symbol, you have to escape `$` with `$$`.
If you want to test it locally, see [Docker](#docker).
@@ -321,7 +323,6 @@ You may use the following placeholders in the body (`endpoints[].body`):
- `[LOCAL_ADDRESS]` (resolves to the local IP and port like `192.0.2.1:25` or `[2001:db8::1]:80`)
- `[RANDOM_STRING_N]` (resolves to a random string of numbers and letters of length N (max: 8192))
### External Endpoints
Unlike regular endpoints, external endpoints are not monitored by Gatus, but they are instead pushed programmatically.
This allows you to monitor anything you want, even when what you want to check lives in an environment that would not normally be accessible by Gatus.