wordpress: add customizable php.ini

This commit is contained in:
uumas
2023-04-21 03:22:34 +03:00
parent 309bd41836
commit 165a04fa51
3 changed files with 10 additions and 0 deletions

View File

@@ -7,3 +7,6 @@ docker_additional_services: []
docker_host_user: false
wordpress_symlinks: false
wordpress_php_memory_limit: 256M
wordpress_php_post_max_size: 128M
wordpress_php_upload_max_filesize: 32M

View File

@@ -0,0 +1,5 @@
; {{ ansible_managed }}
memory_limit = {{ wordpress_php_memory_limit }}
post_max_size = {{ wordpress_php_post_max_size }}
upload_max_filesize = {{ wordpress_php_upload_max_filesize }}

View File

@@ -3,3 +3,5 @@
wordpress_docker_volumes:
- name: html
path: /var/www/html
- template: php.ini
path: /usr/local/etc/php/conf.d/custom.ini