From f52b52e73806398fff76316e3ee7226fcd4b1283 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 27 Mar 2018 15:06:32 +0200 Subject: [PATCH] Update docs --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index affb588..097216e 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,10 @@ docker-compose logs `docker-compose ps` ## Update or Re-create base image - +```bash +docker image rm +docker-compose build +``` # Specific container usage @@ -106,6 +109,24 @@ Create a VHOST file in `/httpd/`. Add this to your vhost to connect php. Don't forget to create the directory in your workspace. To enable the new vhosts, simply stop an start the `httpd` container (`docker-compose stop && docker-compose start`). +### Change php settings dynamically +In the root dir of your project, you could add a .user.ini wich change somme configuration (see file is read every five minutes) + +Sample +``` +upload_max_filesize=513M +post_max_size=513M +memory_limit=128M +mbstring.func_overload=0 +always_populate_raw_post_data=-1 +default_charset='UTF-8' +date.timezone='Europe/Paris' +display_errors=off +env[APPLICATION_ENV] = "development" +soap.wsdl_cache_enabled=0 +``` + + ## Database Database files are store in `/`. Even if you delete your container, all data are preserved.