mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented new upload limit
This commit is contained in:
@@ -4,7 +4,9 @@ services:
|
||||
application:
|
||||
logging:
|
||||
driver: journald
|
||||
image: wordpress
|
||||
image: custom_wordpress
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:80"
|
||||
|
5
roles/docker-wordpress/templates/upload.ini.j2
Normal file
5
roles/docker-wordpress/templates/upload.ini.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
file_uploads = On
|
||||
memory_limit = {{wordpress_max_upload_size}}
|
||||
upload_max_filesize = {{wordpress_max_upload_size}}
|
||||
post_max_size = {{wordpress_max_upload_size}}
|
||||
max_execution_time = 300
|
Reference in New Issue
Block a user