Ajout d'un custom_php.ini
This commit is contained in:
parent
586c9ac4f5
commit
b0bbf26f2d
4 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
docker_wordpress_custom_php: |
|
||||
upload_max_filesize = 16M
|
||||
post_max_size = 16M
|
||||
max_execution_time = 60
|
|
@ -9,6 +9,7 @@
|
|||
dest: /opt/{{ docker_wordpress_service_id }}/
|
||||
with_items:
|
||||
- docker-compose.yml
|
||||
- custom_php.ini
|
||||
notify: docker-compose-up
|
||||
|
||||
|
||||
|
|
1
templates/custom_php.ini
Normal file
1
templates/custom_php.ini
Normal file
|
@ -0,0 +1 @@
|
|||
{{ docker_wordpress_custom_php }}
|
|
@ -13,6 +13,7 @@ services:
|
|||
WORDPRESS_DB_NAME: "{{ docker_wordpress_db_name }}"
|
||||
volumes:
|
||||
- {{ docker_wordpress_data_dir }}/{{ docker_wordpress_service_id }}/wp_html:/var/www/html
|
||||
- ./custom_php.ini:/usr/local/etc/php/conf.d/custom_php.ini
|
||||
depends_on:
|
||||
- db
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue