Bump some lychee limits

This commit is contained in:
Nemo 2017-12-30 23:16:30 +05:30
parent c463d01310
commit e8c9e380ee
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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"