forked from finallycoffee/nextcloud
chore(server): allow configuring php memory limit and max upload size
This commit is contained in:
parent
5bc19d4ddc
commit
5d00b7637d
@ -74,3 +74,6 @@ nextcloud_fpm_max_children: 64
|
|||||||
nextcloud_fpm_start_servers: "{{ nextcloud_fpm_max_children / 2 | int }}"
|
nextcloud_fpm_start_servers: "{{ nextcloud_fpm_max_children / 2 | int }}"
|
||||||
nextcloud_fpm_min_spare_servers: "{{ nextcloud_fpm_max_children / 4 | 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_fpm_max_spare_servers: "{{ nextcloud_fpm_max_children * 3/4 | int }}"
|
||||||
|
|
||||||
|
nextcloud_php_memory_limit: 1024M
|
||||||
|
nextcloud_php_upload_limit: 1024M
|
||||||
|
@ -22,5 +22,7 @@ nextcloud_container_base_environment_yaml: |+2
|
|||||||
{% elif nextcloud_database_type == 'sqlite' %}
|
{% elif nextcloud_database_type == 'sqlite' %}
|
||||||
SQLITE_DATABASE: "{{ nextcloud_database_name }}"
|
SQLITE_DATABASE: "{{ nextcloud_database_name }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
PHP_MEMORY_LIMIT: "{{ nextcloud_php_memory_limit }}"
|
||||||
|
PHP_UPLOAD_LIMIT: "{{ nextcloud_php_upload_limit }}"
|
||||||
|
|
||||||
nextcloud_occ_command: "php occ"
|
nextcloud_occ_command: "php occ"
|
||||||
|
Loading…
Reference in New Issue
Block a user