feat(nextcloud): Add adjustable php memory/upload limits
Can be adjusted through nextcloud default settings.
This commit is contained in:
parent
84dcf7d128
commit
fa9bac81af
2 changed files with 5 additions and 1 deletions
|
|
@ -18,6 +18,9 @@ nextcloud_redis_password: myredispass
|
|||
nextcloud_db_username: nextcloud
|
||||
nextcloud_db_password: secretnextcloud
|
||||
|
||||
nextcloud_php_memory_limit: 5G # maximum ram php may use
|
||||
nextcloud_php_upload_limit: 15G # maximum size of (web) uploaded files
|
||||
|
||||
# if you wish to access your nextcloud instance from the reverse proxy
|
||||
nextcloud_trusted_domains: "{{ subdomain_alias }}.{{ server_domain }}"
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,8 @@ services:
|
|||
- POSTGRES_DB={{ nextcloud_db_username }}
|
||||
- POSTGRES_USER={{ nextcloud_db_username }}
|
||||
- POSTGRES_PASSWORD={{ nextcloud_db_password }}
|
||||
- PHP_UPLOAD_LIMIT=2048M
|
||||
- PHP_MEMORY_LIMIT={{ nextcloud_php_memory_limit }}
|
||||
- PHP_UPLOAD_LIMIT={{ nextcloud_php_upload_limit }}
|
||||
{% if nextcloud_trusted_domains is not undefined and not none %}
|
||||
- NEXTCLOUD_TRUSTED_DOMAINS={{ nextcloud_trusted_domains }}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue