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

docs: /ping endpoint #995

Closed
sshilko opened this issue Feb 9, 2018 · 1 comment
Closed

docs: /ping endpoint #995

sshilko opened this issue Feb 9, 2018 · 1 comment
Labels

Comments

@sshilko
Copy link

sshilko commented Feb 9, 2018

Administration UI also supports /ping endpoint, as well as all others (nsqd, nsqlookupd), it is not mentioned in documentation but usefull.

Dockerfile could be updated maybe too

nsqlookupd:
    image: nsqio/nsq
    command: /nsqlookupd
    healthcheck:
      test: ["CMD-SHELL", "/usr/bin/wget -q -s http://0.0.0.0:4161/ping && exit 0 || exit 1"]

nsqd:
    image: nsqio/nsq
    stop_signal: SIGTERM
    healthcheck:
      test: ["CMD-SHELL", "/usr/bin/wget -q -s http://0.0.0.0:4151/ping && exit 0 || exit 1"]

nsqadmin:
    image: nsqio/nsq
    command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
    healthcheck:
      test: ["CMD-SHELL", "/usr/bin/wget -q -s http://0.0.0.0:4171/ping && exit 0 || exit 1"]

@mreiferson
Copy link
Member

opened an issue on https://github.com/nsqio/nsqio.github.io

@mreiferson mreiferson changed the title Documentation for nsqadmin 0.0.0.0/ping and Docker healthchecks could be improved docs: /ping endpoint Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants