From ace4efe49988232f5bea330370dd53108625dc50 Mon Sep 17 00:00:00 2001 From: Ace Archer Date: Wed, 20 Jul 2022 19:50:14 +0000 Subject: [PATCH 1/2] Update server/config/megan-portfolio/upload.ini, server/config/megan-portfolio/docker-compose.yml --- homelab/server/config/megan-portfolio/docker-compose.yml | 3 ++- homelab/server/config/megan-portfolio/upload.ini | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 homelab/server/config/megan-portfolio/upload.ini diff --git a/homelab/server/config/megan-portfolio/docker-compose.yml b/homelab/server/config/megan-portfolio/docker-compose.yml index 85dd380c..5682335a 100644 --- a/homelab/server/config/megan-portfolio/docker-compose.yml +++ b/homelab/server/config/megan-portfolio/docker-compose.yml @@ -12,6 +12,7 @@ services: WORDPRESS_DB_NAME: wordpressdb volumes: - ${DOCKER_DATA}/html:/var/www/html + - ./upload.ini:/usr/local/etc/php/conf.d/uploads.ini labels: - traefik.http.routers.megan-portfolio.rule=Host(`meganmcdonough.art`) - traefik.http.routers.megan-portfolio.tls.certresolver=lets-encrypt @@ -40,4 +41,4 @@ services: networks: web: external: true - portfolio: \ No newline at end of file + portfolio: diff --git a/homelab/server/config/megan-portfolio/upload.ini b/homelab/server/config/megan-portfolio/upload.ini new file mode 100644 index 00000000..eca0ca5a --- /dev/null +++ b/homelab/server/config/megan-portfolio/upload.ini @@ -0,0 +1,5 @@ +file_uploads = On +memory_limit = 1G +upload_max_filesize = 1G +post_max_size = 1G +max_execution_time = 600 \ No newline at end of file From 8283541729e26b98d2f85d62f0c903f63d835032 Mon Sep 17 00:00:00 2001 From: Ace Archer Date: Wed, 20 Jul 2022 19:51:28 +0000 Subject: [PATCH 2/2] Update upload.ini --- homelab/server/config/megan-portfolio/upload.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homelab/server/config/megan-portfolio/upload.ini b/homelab/server/config/megan-portfolio/upload.ini index eca0ca5a..4d89d530 100644 --- a/homelab/server/config/megan-portfolio/upload.ini +++ b/homelab/server/config/megan-portfolio/upload.ini @@ -2,4 +2,4 @@ file_uploads = On memory_limit = 1G upload_max_filesize = 1G post_max_size = 1G -max_execution_time = 600 \ No newline at end of file +max_execution_time = 600