Category : google-cloud-run

I’ve deployed too many times Laravel projects up to Cloud Run successfully, but right now It looks like Cloud Run is unable to read Enviroment Variables (which i’ve specified already in the Variables&Secrets section within Cloud Run instance). I’m using Laravel 8. For testing purposes (and make sure Cloud Run it’s reading env variables), i’ve ..

Read more

I am dealing with an issue where the first request towards my Google Cloud Run container results in a 502 Bad Gateway error. The following can be seen in the logs: [crit] 23#23: *3 connect() to unix:/run/php/php7.4-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 169.254.8.129, server: domain.com, request: "GET / ..

Read more

#change ownership of our applications RUN chown -R www-data:www-data /var/www/html/storage RUN chown -R www-data:www-data /var/www/html RUN chown -R www-data:www-data /var/www/html/bootstrap/cache RUN chmod -R 755 /var/www/html/storage RUN chmod -R 755 /var/www/html/bootstrap/cache These are the above commands I added in my dockerfile to avoid permission error but the issue is when i run this dockerfile in my ..

Read more

I’m trying to deploy a Laravel project with apache using Docker to Cloud Run, everything is ok, i am deploying my project successfuly to Cloud Run without any problem, but when i add a supervisord and try to deploy my project again, i recieve this error: Container failed to start. Failed to start and then ..

Read more

I’ve deployed a Laravel 8.21.0 application to Google Cloud Platform using Cloud Run. The only issue I’m having at the moment is when I browse to https://MyApp.com and try to login with the standard auth form the login form actions point to http://MyApp.com instead of https://MyApp.com and the same with the forgot password link. So ..

Read more

I’m working on a Laravel project with fully continuous deployments to Cloud Run and using Cloud SQL as storage service. Right now, I need to perform php artisan migrate manually using the cloud_sql_proxy within the local environment. Does anyone know whether it is possible to perform this step automatically, possibly part of the Dockerfile. This ..

Read more