diff --git a/compose.yaml b/compose.yaml index d224ec3..2892e3a 100644 --- a/compose.yaml +++ b/compose.yaml @@ -29,6 +29,7 @@ services: - wordpress_data:/var/www/html - ./wp-content/themes:/var/www/html/wp-content/themes - ./wp-content/plugins:/var/www/html/wp-content/plugins + - ./php.ini:/usr/local/etc/php/conf.d/uploads.ini depends_on: db: condition: service_healthy diff --git a/php.ini b/php.ini new file mode 100644 index 0000000..3eac846 --- /dev/null +++ b/php.ini @@ -0,0 +1,5 @@ +upload_max_filesize = 1G +post_max_size = 1G +memory_limit = 512M +max_execution_time = 300 +max_input_time = 300 \ No newline at end of file