pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

pm2 is periodically restarting every few seconds without a noticeable error on Google Cloud Run (using Docker)?

Open lancejpollard opened this issue 1 year ago • 0 comments

What's going wrong?

Cross-posting https://stackoverflow.com/questions/77979351/how-to-start-node-js-pm2-on-google-cloud-it-keeps-restarting-with-my-job-here for visibility. Any ideas how to get this working properly on Google Cloud Run?

How could we reproduce this issue?

  • Docker image
  • TypeScript compiled to JS
  • pm2 in --no-daemon mode
  • Google Cloud Build for the docker image
  • Google Cloud Run for the serverless app

Supporting information

Don't know how to run pm2 report yet on Google Cloud Run, if you know please let me know so I can help debug.

lancejpollard avatar Feb 12 '24 04:02 lancejpollard