diff --git a/data/conf/php/uploads.ini b/data/conf/php/uploads.ini new file mode 100644 index 0000000..c8f9c09 --- /dev/null +++ b/data/conf/php/uploads.ini @@ -0,0 +1,4 @@ +file_uploads = On +memory_limit = 64M +upload_max_filesize = 16M +post_max_size = 64M diff --git a/docker-compose.yml b/docker-compose.yml index 4710c95..114e317 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,7 @@ - WORDPRESS_DB_NAME=wordpress volumes: - ./data/app:/var/www/html + - ./data/conf/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro ports: - "${WORDPRESS_FPM_BIND:-127.0.0.1}:${WORDPRESS_FPM_PORT:-9003}:9000" links: