From 8a5dff9e28af413a772bc615db7ca2064c3b51ba Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 4 May 2019 14:26:41 +0200 Subject: [PATCH] increase upload limit --- docker-compose.yml | 2 +- uploads.ini | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0480271..123b2ff 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: wp: image: wordpress:5-apache volumes: - - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini + - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro - ./data/wp:/var/www/html - ./liquet:/var/www/html/wp-content/themes/liquet:ro ports: diff --git a/uploads.ini b/uploads.ini index 30b980f..01fb05c 100644 --- a/uploads.ini +++ b/uploads.ini @@ -1,5 +1,5 @@ file_uploads = On -memory_limit = 64M -upload_max_filesize = 64M -post_max_size = 64M +memory_limit = 512M +upload_max_filesize = 512M +post_max_size = 512M max_execution_time = 300 \ No newline at end of file