Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ginesdt
Copy link
Contributor

@ginesdt ginesdt commented Aug 27, 2025

If the server crashes, Kubernetes restarts it automatically, but it is hard to investigate what happened as the error is not logged in the regular logs.
This PR changes the docker entry point to use pm2 for process management, such that if node runtime crashes, it will log the error and restart node automatically, without having to restart the docker completely.

@ginesdt ginesdt merged commit d3e10a6 into master Aug 27, 2025
3 checks passed
@ginesdt ginesdt deleted the use-pm2 branch August 27, 2025 11:30
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 this pull request may close these issues.

1 participant