From e8c9e380ee09e4be12f216e880616730d5bde5be Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 30 Dec 2017 23:16:30 +0530 Subject: [PATCH] Bump some lychee limits --- docker/conf/lychee.php.ini | 8 ++++++++ docker/lychee.tf | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 docker/conf/lychee.php.ini diff --git a/docker/conf/lychee.php.ini b/docker/conf/lychee.php.ini new file mode 100644 index 0000000..366c821 --- /dev/null +++ b/docker/conf/lychee.php.ini @@ -0,0 +1,8 @@ +; Uncomment these lines to change PHP parameters if you are using PHP with CGI or FastCGI. Only works with PHP starting from 5.3.0. +; Note that with FastCGI, you might also want to set FcgidBusyTimeout, FcgidIOTimeout and FcgidMaxRequestLen in your Apache config + +max_execution_time = 200 +post_max_size = 200M +upload_max_size = 200M +upload_max_filesize = 50M +max_file_uploads = 200 diff --git a/docker/lychee.tf b/docker/lychee.tf index 0494212..074a902 100644 --- a/docker/lychee.tf +++ b/docker/lychee.tf @@ -16,6 +16,11 @@ resource "docker_container" "lychee" { container_path = "/pictures" } + upload { + content = "${file("${path.module}/conf/lychee.php.ini")}" + file = "/config/lychee/user.ini" + } + labels { "traefik.port" = 80 "traefik.frontend.passHostHeader" = "false"