Add GATUS_CONFIG_FILE env var to support custom config path

This commit is contained in:
TwinProduction committed 2020-03-08 18:16:39 -04:00
1 parent 6b30125a78
commit 16837562ea
2 files changed
+7 -3

No files matched your search

+4
View File
@@ -10,6 +10,10 @@ Live example: https://status.twinnation.org/
## Usage
By default, the configuration file is expected to be at `config/config.yaml`.
You can specify a custom path by setting the `GATUS_CONFIG_FILE` environment variable.
```yaml
metrics: true # Whether to expose metrics at /metrics
services: