Feature Request: Extending the Docker image with important PHP configuration values via ENV #545
csaeum
started this conversation in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👉 Describe the problem
I would like to configure the Docker image serversideup/php:8.3-fpm-apache (or a Shopware project based on it) with specific PHP values that are recommended by Shopware or helpful for optimal performance and stability. Currently, it is not possible to set these values directly via ENV variables when the container starts.
Example:
The official Shopware script recommends configuring:
👥 Problem evidence & reach
I suspect I'm not the only one experiencing this issue – everyone who uses Shopware in conjunction with Docker and wants to implement recommendations from the Shopware Performance Guide or setup scripts is affected. Teams trying to properly automate CI/CD or cloud-native deployments are particularly affected.
🏆 How to solve this problem
It would be helpful if the image (or an upstream startup script) offered the option to set certain PHP INI values via environment variables – e.g. E.g., via envsubst or template handling at container startup.
Detail 1 – Values that should be set via ENV:
Detail 2 – Optional implementation approaches:
🥰 Describe the "impact" on users?
This would make the Docker image much more flexible to use – especially in automated DevOps/cloud environments where manually accessing containers and editing configuration files is impractical. It increases performance and prevents errors in production (e.g., regarding the file_exists() cache or Unicode detection).
💯 How do we validate the problem is solved?
As soon as it is possible to set the mentioned PHP configuration values without manual configuration in the container (e.g., using simple ENV variables in docker-compose.yml), the problem is solved.
Beta Was this translation helpful? Give feedback.
All reactions