Skip to content

Instantly share code, notes, and snippets.

@alecgerona
Created April 25, 2020 05:40
Show Gist options
  • Select an option

  • Save alecgerona/032de3a54e4d05dfba73d9dadfb7e37f to your computer and use it in GitHub Desktop.

Select an option

Save alecgerona/032de3a54e4d05dfba73d9dadfb7e37f to your computer and use it in GitHub Desktop.

Revisions

  1. alecgerona created this gist Apr 25, 2020.
    5 changes: 5 additions & 0 deletions healthcheck.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    healthcheck:
    test: ["CMD-SHELL", "curl -f http://192.168.1.100:8181 || exit 1"]
    interval: 5m
    timeout: 10s
    retries: 3