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

Add healthcheck in Dockerfile or document it in the compose.yml #967

Closed
3DJupp opened this issue Aug 24, 2024 · 2 comments
Closed

Add healthcheck in Dockerfile or document it in the compose.yml #967

3DJupp opened this issue Aug 24, 2024 · 2 comments

Comments

@3DJupp
Copy link

3DJupp commented Aug 24, 2024

Would it be possible to have a health check in place?
Either something thats listening on a certain port:
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/health || exit 1
Or answering a CMD/CMD-SHELL:
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD node /app/healthcheck.js

Thanks for this great project, I like it ❤️

manuc66 added a commit that referenced this issue Oct 20, 2024
@manuc66
Copy link
Owner

manuc66 commented Nov 16, 2024

Hi @3DJupp

Would you consider that it's healthy if the printer is not reachable ?

manuc66 added a commit that referenced this issue Nov 18, 2024
@manuc66
Copy link
Owner

manuc66 commented Nov 18, 2024

Implementend with basic support

@manuc66 manuc66 closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants