-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Laravel on Cloud Run #1680
Conversation
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
Unsure why linting is failing.
|
@glasnt I believe that is happening due to the use of When I ran the fixer on your PR locally with PHP 7.3 in verbose mode I got the "Invalid file syntax" error. Now, since this
@bshaffer Does this look right? |
tests all pass now 🥳 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great tutorial!! I was able to get from beginning to end without any issues! I have a few comments related to minor tutorial based things, and only one major issue, which has to do with PHP versions (both required locally and deployed to). Please let me know if you have any questions!
This reverts commit 09c539a.
Co-authored-by: Brent Shaffer <[email protected]>
@@ -0,0 +1,3 @@ | |||
web: pid1 --nginxBinaryPath nginx --nginxConfigPath /layers/google.php.webconfig/webconfig/nginx.conf --serverConfigPath /layers/google.php.webconfig/webconfig/nginxserver.conf --nginxErrLogFilePath /var/log/nginx.log --customAppCmd "php-fpm -R --nodaemonize --fpm-config /layers/google.php.webconfig/webconfig/php-fpm.conf" --pid1LogFilePath /var/log/pid1.log --mimeTypesPath /layers/google.utils.nginx/nginx/conf/mime.types --customAppSocket /layers/google.php.webconfig/webconfig/app.sock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just confirmed this setup vs the current buildpack web config, and it's still 'up to date', and the logs end up in Cloud Run successfully.
One noop comment, I'm happy with this being merged when you are. |
Code and README-based tutorial for Laravel on Cloud Run
Includes some region tags as highlighted in "Understanding the code".
(View to possibly migrate README tutorial to DevSite, but if that happens I'll submit another PR to redirect readers to that version)