How to configure the php.ini in your docker container

On the root folder of your project where your docker-compose.yml is add a new file to replace some ini file in your PHP container.

Then on your docker-compose.yml file add a volume to your PHP container


Then restart your docker container with --build flag on

docker-compose up --build