Skip to content

Add Support for FrankenPHP based shopware image - #239

Open
Peter Simon (pesimon) wants to merge 3 commits into
shopware:mainfrom
OPC-On-Promise-Cloud:feat/frankenphp-support
Open

Peter Simon (pesimon) wants to merge 3 commits into
shopware:mainfrom
OPC-On-Promise-Cloud:feat/frankenphp-support

Conversation

@pesimon

@pesimon Peter Simon (pesimon) commented Aug 19, 2026 •

Copy link
Copy Markdown

Add Support for FrankenPHP based shopware image

Corresponding helm chart PR shopware/helm-charts#307

- Add 'frankenphp' as valid enum value for fpm.processManagement
- Skip FPM env var injection when processManagement is 'frankenphp'
- Add GetCalculatedFrankenPHPValues() for auto-calculating thread count
  from container memory limits (50 MiB per thread, min 2 threads)
- Inject FRANKENPHP_MAX_THREADS env var in storefront and admin
  deployments when processManagement is 'frankenphp'
- Verify FRANKENPHP_MAX_THREADS is calculated from memory limit
  (2Gi → 40 threads at 50 MiB/thread)
- Verify no FPM_PM/FPM_LISTEN/FPM_PM_MAX_CHILDREN env vars leak
  when processManagement is 'frankenphp'
FrankenPHP doesn't have PHP-FPM's /fpm/ping endpoint on port 8001.
Use Caddy's admin API at port 2019 (/config/) for startup and liveness
probes when processManagement is set to 'frankenphp'.
@pesimon Peter Simon (pesimon) changed the title Feat/frankenphp support Add Support for FrankenPHP based shopware image Aug 19, 2026
@pesimon
Peter Simon (pesimon) marked this pull request as ready for review August 19, 2026 16:04
@TrayserCassa

Copy link
Copy Markdown
Contributor

Hey thanks for the PR, it took a bit but we are currently moving from docker v1 to docker v2 if this is merged:
shopware/docker#231

Then we can officially support this from our side, we are now look at this and will already merge this but don't really use it from our side. So you can start already testing out if you want to.

Could I ask you to rebase this and fix the conflicts? Peter Simon (@pesimon)
Or I can also take over and fix this, if you like, just let me know ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants