Created
November 8, 2017 05:37
-
-
Save farahfa/f8c140bc70c630d8b0653ed16434bfbd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: register nginx service with curl check | |
consul: | |
host: 10.96.2.123 | |
service_name: nginx | |
service_port: 80 | |
script: "curl http://localhost > /dev/null 2>&1" | |
interval: 60s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment