chore(server): allow configuring php memory limit and max upload size

This commit is contained in:
transcaffeine 2021-10-17 21:12:38 +02:00
parent 5bc19d4ddc
commit 5d00b7637d
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
2 changed files with 5 additions and 0 deletions

View File

@ -74,3 +74,6 @@ nextcloud_fpm_max_children: 64
nextcloud_fpm_start_servers: "{{ nextcloud_fpm_max_children / 2 | int }}"
nextcloud_fpm_min_spare_servers: "{{ nextcloud_fpm_max_children / 4 | int }}"
nextcloud_fpm_max_spare_servers: "{{ nextcloud_fpm_max_children * 3/4 | int }}"
nextcloud_php_memory_limit: 1024M
nextcloud_php_upload_limit: 1024M

View File

@ -22,5 +22,7 @@ nextcloud_container_base_environment_yaml: |+2
{% elif nextcloud_database_type == 'sqlite' %}
SQLITE_DATABASE: "{{ nextcloud_database_name }}"
{% endif %}
PHP_MEMORY_LIMIT: "{{ nextcloud_php_memory_limit }}"
PHP_UPLOAD_LIMIT: "{{ nextcloud_php_upload_limit }}"
nextcloud_occ_command: "php occ"