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..4d89d530 --- /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