increase upload limit

This commit is contained in:
cupcakearmy 2019-05-03 10:25:44 +02:00
parent 5dc38cc328
commit b5ddb8ba2a
2 changed files with 7 additions and 8 deletions

View File

@ -4,6 +4,7 @@ services:
wp:
image: wordpress:5-apache
volumes:
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
- ./data/wp:/var/www/html
- ./liquet:/var/www/html/wp-content/themes/liquet:ro
ports:
@ -16,10 +17,3 @@ services:
volumes:
- ./data/db:/var/lib/mysql
env_file: .env
# adminer:
# image: adminer
# restart: always
# ports:
# - 8080:8080

5
uploads.ini Normal file
View File

@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300