Reputation: 181
I deployed my app on Cloud Run service of google. It shows error "Cloud Run error: Container failed to start. Failed to start and then listen on the port defined by the PORT environment variable. Logs for this revision might contain more information. ". I run this image on Cloud Shell to test, it still runs with PORT 8080 and bind 0.0.0.0, I can not find more error in log of cloud run. My project is laravel project. Please help me, how to find out more logs and debug this case. Check Image
Upvotes: 1
Views: 961
Reputation: 1141
You can look at this step by step guide that might help for this or similar problems with Laravel and Google Cloud Run.
Upvotes: 0
Reputation: 181
I fixed it. When i run with supervisor at local it runs, but on Cloud Run it's not ok. So i've changed to entrypoint to start php-fpm and nginx, it's okie on Cloud Run
Upvotes: 1