Add support for environment variables in configuration file

This commit is contained in:
TwinProduction
2019-12-04 17:27:27 -05:00
parent 753435dc37
commit c90ca8fa85
9 changed files with 26 additions and 21 deletions

View File

@ -4,12 +4,12 @@ services:
url: https://twinnation.org/actuator/health
interval: 10s
conditions:
- "$STATUS == 200"
- "[STATUS] == 200"
- name: GitHub
url: https://api.github.com/healthz
conditions:
- "$STATUS == 200"
- "[STATUS] == 200"
- name: Example
url: https://example.com/
conditions:
- "$STATUS == 200"
- "[STATUS] == 200"

View File

@ -3,4 +3,4 @@ services:
url: http://example.org
interval: 30s
conditions:
- "$STATUS == 200"
- "[STATUS] == 200"