From 6b13226a2d92414fc95629503ae8e88f585f1411 Mon Sep 17 00:00:00 2001 From: Varakh Date: Sat, 3 Apr 2021 12:05:52 +0200 Subject: [PATCH] Change upload limit default and adapt for 3.6.0 --- Dockerfile | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2853738..19c5f47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ENV MIGRATE true # php.ini ENV PHP_MEMORY_LIMIT 512M ENV MAX_UPLOAD 1024M -ENV PHP_MAX_FILE_UPLOAD 200 +ENV PHP_MAX_FILE_UPLOAD 100 ENV PHP_MAX_POST 1024M # database.php diff --git a/README.md b/README.md index a6b9cb6..055fd5d 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,8 @@ Steps: Example: ``` -export FILEBIN_VERSION=3.5.0 -mkdir -p build -git clone --branch ${FILEBIN_VERSION} https://github.com/Bluewind/filebin --depth=1 build/ -sudo docker build --no-cache -t varakh/filebin:${FILEBIN_VERSION} -t varakh/filebin:latest . +export FILEBIN_VERSION=3.6.0; +mkdir -p build; +git clone --branch ${FILEBIN_VERSION} https://github.com/Bluewind/filebin --depth=1 build/; +sudo docker build --no-cache -t varakh/filebin:${FILEBIN_VERSION} -t varakh/filebin:latest .; ``` \ No newline at end of file