shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

Making changes in images / configuration #118

Closed zaifastafa closed 2 years ago

zaifastafa commented 3 years ago

Hey if we want to test some server configuration scenario, is that possible to do via swdc ?

For e.g. I want to check some functionality of the shop if a particular module is disabled or not available, in my case proc_open is sometimes disabled in some shops due to security concerns. If I want to test that out in swdc, where can I make the configuration / setup related changes to see the behavior of the shop?

The proc_open is just an example, but in general, since we are using pre-built images, how can I make changes on the image level? Can you also provide a wiki to extend images to enable/disable/install/remove modules and stuff?

shyim commented 3 years ago

Hey,

What would you need explicitly? Only php.ini changes?

zaifastafa commented 3 years ago

umm, yeah mainly .. like we want to install some extensions or modules, like for e.g ssh2 @shyim

shyim commented 2 years ago

php.ini works now by just having a php.ini file in the project with your config

shyim commented 2 years ago

Create a .swdc/Dockerfile file in your project

FROM ghcr.io/shyim/shopware-docker/6/nginx:php74

RUN install-php-extensions ssh2