Skip to content

Instantly share code, notes, and snippets.

@alecgerona
Created April 25, 2020 05:40
Show Gist options
  • Save alecgerona/032de3a54e4d05dfba73d9dadfb7e37f to your computer and use it in GitHub Desktop.
Save alecgerona/032de3a54e4d05dfba73d9dadfb7e37f to your computer and use it in GitHub Desktop.
healthcheck:
test: ["CMD-SHELL", "curl -f http://192.168.1.100:8181 || exit 1"]
interval: 5m
timeout: 10s
retries: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment