mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Raise php max file upload size for STB wordpress
This commit is contained in:
parent
bfc85a9fab
commit
d36521e6f9
3 changed files with 11 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ services:
|
|||
image: wordpress:4.9.4-php7.1-apache
|
||||
volumes:
|
||||
- /var/lib/stb:/var/www/html
|
||||
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
|
||||
labels:
|
||||
- "traefik.backend=wordpress"
|
||||
- "traefik.docker.network=web"
|
||||
|
|
|
|||
6
roles/stb-wordpress-docker/files/uploads.ini
Normal file
6
roles/stb-wordpress-docker/files/uploads.ini
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
file_uploads = On
|
||||
memory_limit = 64M
|
||||
upload_max_filesize = 64M
|
||||
post_max_size = 64M
|
||||
max_execution_time = 600
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue