From b5ddb8ba2a28c49c0ec3c108e50d1dd0e9a68f30 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Fri, 3 May 2019 10:25:44 +0200 Subject: [PATCH] increase upload limit --- docker-compose.yml | 10 ++-------- uploads.ini | 5 +++++ 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 uploads.ini diff --git a/docker-compose.yml b/docker-compose.yml index 1853dea..0480271 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: wp: image: wordpress:5-apache volumes: + - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini - ./data/wp:/var/www/html - ./liquet:/var/www/html/wp-content/themes/liquet:ro ports: @@ -15,11 +16,4 @@ services: restart: always volumes: - ./data/db:/var/lib/mysql - env_file: .env - - - # adminer: - # image: adminer - # restart: always - # ports: - # - 8080:8080 \ No newline at end of file + env_file: .env \ No newline at end of file diff --git a/uploads.ini b/uploads.ini new file mode 100644 index 0000000..30b980f --- /dev/null +++ b/uploads.ini @@ -0,0 +1,5 @@ +file_uploads = On +memory_limit = 64M +upload_max_filesize = 64M +post_max_size = 64M +max_execution_time = 300 \ No newline at end of file