manuc66 / node-hp-scan-to

Allow to send scan from device to computer for some HP All-in-One Printers - Scan to computer
https://manuc66.github.io/node-hp-scan-to/
MIT License
163 stars 25 forks source link

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

Open 3DJupp opened 2 months ago

3DJupp commented 2 months ago

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 :heart: