Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using params from environment variables #15

Open
kasvith opened this issue Feb 14, 2021 · 0 comments
Open

Allow using params from environment variables #15

kasvith opened this issue Feb 14, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@kasvith
Copy link
Contributor

kasvith commented Feb 14, 2021

# Sample griffin file

services:
  - name: Foo Web Service
    host: $FOO_HOST
    health:
      - method: http
        endpoint: /status
        port: 4040
        interval: 1h
      - method: ping
  - name: Bar Web Service
    host: bar.example.com
    health:
      - method: http
        endpoint: /statuz
        interval: 15s
      - method: ping
        interval: 30ms
alerts:
  - type: Email
    from: griffin@foo.com
    to: webmaster@foo.com
  - type: Webhook
    url: $WEBHOOK_URL

Need to expand the environment variables

@kasvith kasvith self-assigned this Feb 14, 2021
@kasvith kasvith added the enhancement New feature or request label Feb 14, 2021
@sdglhm sdglhm added this to the MVP release milestone Feb 15, 2021
@kasvith kasvith changed the title Allow loading config from environment variables Allow using params from environment variables Feb 15, 2021
@kasvith kasvith removed their assignment Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants