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

@ -17,13 +17,15 @@ services:
url: https://twinnation.org/actuator/health
interval: 15s # Duration to wait between every status check (opt. default: 10s)
conditions:
- "$STATUS == 200"
- "[STATUS] == 200"
- name: github
url: https://api.github.com/healthz
conditions:
- "$STATUS == 200"
- "[STATUS] == 200"
```
Note that you can also add environment variables in the your configuration file (i.e. `$DOMAIN`, `${DOMAIN}`)
## Docker