Update docs
This commit is contained in:
parent
dc2b3feb6d
commit
f52b52e738
23
README.md
23
README.md
@ -58,7 +58,10 @@ docker-compose logs <container_name>
|
||||
`docker-compose ps`
|
||||
|
||||
## Update or Re-create base image
|
||||
|
||||
```bash
|
||||
docker image rm <ID>
|
||||
docker-compose build <container_name>
|
||||
```
|
||||
|
||||
# Specific container usage
|
||||
|
||||
@ -106,6 +109,24 @@ Create a VHOST file in `<DATA>/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 `<DATA>/`.
|
||||
Even if you delete your container, all data are preserved.
|
||||
|
Loading…
Reference in New Issue
Block a user