* increase php default max post & upload size & set appropriate config option in default nginx config

This commit is contained in:
2022-08-10 13:29:27 +03:00
parent c11eb7bf7c
commit 9bc71f7b2d
3 changed files with 6 additions and 3 deletions

View File

@ -15,8 +15,8 @@ INSTALL_PEAR_MAIL=true
PHP_OPT_SHORT_OPEN_TAG=Off
PHP_OPT_MAX_EXECUTION_TIME=600
PHP_OPT_MEMORY_LIMIT=500M
PHP_OPT_POST_MAX_SIZE=48M
PHP_OPT_UPLOAD_MAX_FILESIZE=16M
PHP_OPT_POST_MAX_SIZE=300M
PHP_OPT_UPLOAD_MAX_FILESIZE=200M
### MINIO S3 #############################################
MINIO_ACCESS_KEY=s3.local

View File

@ -27,6 +27,7 @@ server {
#@see https://vcs.wpstudio.ru/wpstudio/nginx-examples
include includes.d/octobercms.conf;
include includes.d/staticfiles.conf;
client_max_body_size 300M;
location ~ ^/index.php {
fastcgi_pass php74;
include fastcgi_params;

View File

@ -9,11 +9,13 @@ services:
volumes:
- databasepg:/var/lib/postgresql/data
- ./hostfiles:/hostfiles
ports:
- "5432:5432"
adminer:
image: adminer
restart: always
ports:
- 8080:8080
- 8081:8080
pgadmin:
image: dpage/pgadmin4
restart: always