Increase max upload size.

This commit is contained in:
2024-04-06 13:51:35 +01:00
parent b6cabac403
commit 755b200ccd

View File

@@ -21,6 +21,7 @@ job "wordpress" {
ports = ["http"]
volumes = [
"/data/sync/wordpress:/var/www/html",
"local/php-custom.ini:/usr/local/etc/php/conf.d/php-custom.ini",
]
}
@@ -44,6 +45,15 @@ job "wordpress" {
EOH
}
template {
destination = "local/php-custom.ini"
data = <<EOH
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 600
EOH
}
resources {
cpu = 6000
memory = 1024