mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
upload.ini set memory_limit to WORDPRESS_MAX_UPLOAD_SIZE, the same 256M
as upload_max_filesize and post_max_size, so the memory a request may
use depended on how large an upload may be. It is now a quarter of the
service's mem_limit through lookup('service_memory_mb'), which renders
384M beside the 1.5g container. The upload sizes keep their variable.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
8 lines
289 B
Django/Jinja
8 lines
289 B
Django/Jinja
file_uploads = On
|
|
memory_limit = {{ WORDPRESS_PHP_MEMORY_LIMIT }}
|
|
upload_max_filesize = {{ WORDPRESS_MAX_UPLOAD_SIZE }}
|
|
post_max_size = {{ WORDPRESS_MAX_UPLOAD_SIZE }}
|
|
max_execution_time = 300
|
|
|
|
; Use msmtp as the Mail Transfer Agent
|
|
sendmail_path = "/usr/bin/msmtp -t" |