Old PR for 4.0 Release#523
Conversation
Co-authored-by: Jay Rogers <jay@521dimensions.com>
Deploying serversideup-php with
|
| Latest commit: |
62e8405
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7e2b9775.serversideup-php.pages.dev |
| Branch Preview URL: | https://release-v3-6.serversideup-php.pages.dev |
* Added configurability for max_input_vars and default value * A-z variables --------- Co-authored-by: Ilija Radojkovic <ilija.radojkovic@itcentar.rs> Co-authored-by: Jay Rogers <jay@521dimensions.com>
…nd improved script management. References #479
* Expose opcache.validate_timestamps to .env * Add PHP_OPCACHE_VALIDATE_TIMESTAMPS to CLI ENV * Add PHP_OPCACHE_VALIDATE_TIMESTAMPS to Apache ENV * Add PHP_OPCACHE_VALIDATE_TIMESTAMPS to Nginx Unit ENV * Add PHP_OPCACHE_VALIDATE_TIMESTAMPS to Nginx ENV * Add PHP_OPCACHE_VALIDATE_TIMESTAMPS to FPM ENV * Include PHP_OPCACHE_VALIDATE_TIMESTAMPS in docs * match capitalisation * Add PHP_OPCACHE_SAVE_COMMENTS environment variable for OPcache configuration * Add PHP_OPCACHE_FORCE_RESTART_TIMEOUT environment variable for OPcache configuration * Add PHP_OPCACHE_JIT_BUFFER_SIZE environment variable for OPcache JIT configuration * Add PHP_OPCACHE_JIT environment variable for OPcache JIT configuration --------- Co-authored-by: Jay Rogers <jay@521dimensions.com>
…r info improvements (#511) * Update 50-laravel-automations.sh * Update Command Reference * Mention optimize in automations documentation * Attempt to use --except when running artisan optimize * Update docs to mention new function of optimize * Mention --except in env spec * POSIX /bin/sh compatibility, refactor into functions * Remove erroneous concatenate * Fix typo Co-authored-by: Paul <schnetzi@users.noreply.github.com> * typo fix Co-authored-by: Erik Gaal <me@erikgaal.nl> * typo fix Co-authored-by: Erik Gaal <me@erikgaal.nl> * typo fix Co-authored-by: Erik Gaal <me@erikgaal.nl> * Improve entrypoint script management and error handling - Update entrypoint script to use subshell for script execution - Enhance logging and error reporting for initialization scripts - Remove "Don't use exit 0" section from documentation - Modify exit handling in initialization scripts to preserve environment * Update shell script compatibility guidelines Clarify shell script compatibility requirements for different Linux distributions and operating systems, specifying separate guidelines for /bin/sh and /bin/bash scripts * Enhance container info script with more detailed system information - Improve welcome message layout and readability - Add memory and upload limit information - Include Docker CMD in runtime section - Replace `return 0` with `exit 0` for script termination - Update links and formatting for better user experience * Export Docker CMD for use in initialization scripts - Add DOCKER_CMD environment variable to capture the original Docker command - Enable easier access to the original command in subsequent initialization scripts * Major refactor of Laravel automations script - Add `AUTORUN_DEBUG` environment variable for detailed Laravel automation logging - Implement comprehensive Laravel version detection and compatibility checks - Improve optimization and migration scripts with granular control - Update documentation to reflect new automation features * Update docs to reflect change in optimize process * Fix Joel's Twitter profile 😃 * Update Laravel Automations documentation - Improve description and clarity of Laravel Automations script - Add comprehensive table of environment variables and their functions - Update links to Laravel documentation to version 12.x - Enhance explanations for each Laravel artisan command - Refactor content to provide more detailed and user-friendly information * Add debugging section for Laravel Automations script - Document troubleshooting steps for AUTORUN script - Explain how to enable debug output with environment variables - Provide best practices for preventing AUTORUN script issues * Improve NGINX health check logging and debug output - Add conditional debug logging for NGINX + PHP-FPM health checks - Display more informative message when service is not yet online - Only show HTTP status code when debug mode is enabled * Fix warning about /run not being correct permissions on Alpine * Update Laravel Automations documentation with optimize command details - Add explanation for disabling the `optimize` command - Highlight the benefits of using the `optimize` command - Improve formatting of section headers for better readability --------- Co-authored-by: Paul <schnetzi@users.noreply.github.com> Co-authored-by: Erik Gaal <me@erikgaal.nl> Co-authored-by: Jay Rogers <jay@521dimensions.com>
Co-authored-by: Jay Rogers <jay@521dimensions.com>
…riables and database connection checks
* Adds opt-in seeding * Updated seeders to execute correctly. Configured defaults. * Add documentation for Laravel db:seed automation option --------- Co-authored-by: Jay Rogers <jay@521dimensions.com>
piotrpawelczyk
left a comment
There was a problem hiding this comment.
Paths are hardcoded in these scripts but can be overriden with ENV variables. Shouldn't that be taken into account?
|
Any ETA for this Release? :) |
👨🔬 Test this PRYou can test the latest changes on our serversideup/php-dev repo on DockerHub: (Any thing prefixed with 🤔 Plan for launch
I am testing this PRs with my client project as we're entering a QA round with them. I hope to have a beta in the next week or so then if everything is stable -- production launch after that 👍 I had some client projects that required a lot of attention recently. Good news is I have a build process if you want to test this PR already (see original comment or below): ❓ Hardcoded paths
Can you add comments where you're specifically talking about? I did a quick look and I see relative paths with the ENV |
|
Thanks @jaydrogers! Will test this PR-Image in my ~30 Client sites. |
…clude support for PHP 8.5-rc in configuration
…t numeric patches and RC minors
|
Hey @jaydrogers, could you please take a look at #534? It's a simple and useful addition for this upcoming v4.0 release. |
|
👨🔬 Test this PR
You can test the latest changes on our serversideup/php-dev repo on DockerHub:
(Any thing prefixed with
523[the PR number] is built from this PR)If you notice an issues, please open an issue on GitHub and specifically include the versions that you're having issues with.
🎯 Project Board
View the GitHub Project →
🤓 Docs Preview
View the latest docs →
⚡️ What's new
The following changes are available with this PR:
🌎 New Environment Variables
🤩 New Features
php artisan optimizesupport to the Laravel Automations scriptphp artisan db:seedsupport to the Laravel Automations scriptAUTORUN_DEBUGenvironment variable to help diagnose issues with Laravel Automationsentrypoint.dscripts so we can gracefully handleexit 0in a entrypoint script🐛 Bug Fixes
docker-serversideup-php-s6-initback for advanced S6 dependency use cases (Custom s6 services dependencies no longer works #479)👨🔬 Tests to perform
Migrations
AUTORUN_LARAVEL_OPTIMIZE=trueandAUTORUN_LARAVEL_ROUTE_CACHE=falseStart Up Scripts
exit 0-- the following scripts should continueexit 1-- the following container should exitreturn 0-- the following scripts should continuereturn 1-- the following container should exit