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

Broke monitoring/README.md healthcheck implementation #524

Open
davidosomething opened this issue Dec 24, 2024 · 0 comments · May be fixed by #525
Open

Broke monitoring/README.md healthcheck implementation #524

davidosomething opened this issue Dec 24, 2024 · 0 comments · May be fixed by #525

Comments

@davidosomething
Copy link

in 38f0ed6

Dockerfile https://github.com/getwud/wud/blob/main/Dockerfile#L2
was changed from alpine to node slim
FROM node:23-slim as base

which does not ship with wget or curl
So the healthcheck from the docs https://github.com/getwud/wud/blob/main/docs/monitoring/README.md#example
does not work

As an alternative, can just use node to test service is up

    healthcheck:
      test: node --eval "fetch('http://localhost:3000').catch(() => process.exit(1))"
      interval: 10s
      timeout: 10s
      retries: 3
      start_period: 10s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant