From 70f92db738d2533b92a2c60742a06829d72e5092 Mon Sep 17 00:00:00 2001 From: avinash Date: Fri, 9 Feb 2018 11:40:17 +0530 Subject: [PATCH 1/4] updated to latest wordpress --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b4bd0c2..c3e0b7c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '2' services: nginx: - image: evild/alpine-nginx:1.11.2-libressl + image: evild/alpine-nginx:1.11.5-libressl container_name: wordpress_nginx restart: always volumes: @@ -14,7 +14,7 @@ services: networks: - front php: - image: evild/alpine-wordpress:4.5.3 + image: evild/alpine-wordpress:latest container_name: wordpress_php restart: always volumes: @@ -24,18 +24,18 @@ services: - WORDPRESS_DB_NAME=wpdb - WORDPRESS_TABLE_PREFIX=wp_ - WORDPRESS_DB_HOST=db - - WORDPRESS_DB_PASSWORD=password + - WORDPRESS_DB_PASSWORD=wp_password networks: - front - back db: - image: mariadb:10 + image: mariadb:latest container_name: wordpress_mariadb restart: always volumes: - wordpress-db-data:/var/lib/mysql environment: - - MYSQL_ROOT_PASSWORD=password + - MYSQL_ROOT_PASSWORD=db_password networks: - back volumes: From b32a888830d1382fb0790f7a11f3472e72df9254 Mon Sep 17 00:00:00 2001 From: avinash Date: Fri, 9 Feb 2018 15:50:59 +0530 Subject: [PATCH 2/4] fixed password change --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c3e0b7c..80a1a48 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: - WORDPRESS_DB_NAME=wpdb - WORDPRESS_TABLE_PREFIX=wp_ - WORDPRESS_DB_HOST=db - - WORDPRESS_DB_PASSWORD=wp_password + - WORDPRESS_DB_PASSWORD=db_password networks: - front - back From bb4d4f36f426c33e8a63e2cfdf28159100b04bc0 Mon Sep 17 00:00:00 2001 From: Avinash A Date: Fri, 23 Feb 2018 14:13:36 +0530 Subject: [PATCH 3/4] Update uploads.ini Increased memory limit for php runtime --- php/uploads.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/php/uploads.ini b/php/uploads.ini index 7fc73c5..c8d29f7 100644 --- a/php/uploads.ini +++ b/php/uploads.ini @@ -1,5 +1,5 @@ file_uploads = On -memory_limit = 64M -upload_max_filesize = 64M -post_max_size = 64M -max_execution_time = 600 +memory_limit = 1024M +upload_max_filesize = 1024M +post_max_size = 1024M +max_execution_time = 60 From f95ca2142a53f92bd2cf644b1abb571aeb5d6fb1 Mon Sep 17 00:00:00 2001 From: Avinash A Date: Fri, 23 Feb 2018 14:14:28 +0530 Subject: [PATCH 4/4] Update nginx.conf Updated max file upload size --- nginx/conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/conf/nginx.conf b/nginx/conf/nginx.conf index 67d0c1c..5255da2 100644 --- a/nginx/conf/nginx.conf +++ b/nginx/conf/nginx.conf @@ -34,7 +34,7 @@ http { gzip_http_version 1.1; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; # tells the server to use on-the-fly gzip compression. - client_max_body_size 64M; + client_max_body_size 1024M; include /etc/nginx/conf.d/*.conf;