From 338fbeef472a0e94c20ad21ea520bc4ec5561d18 Mon Sep 17 00:00:00 2001 From: Marvin Bechtold Date: Tue, 15 Feb 2022 15:01:05 +0100 Subject: [PATCH] add default values for multipart config (#211) Signed-off-by: Marvin Bechtold --- .docker/application.properties.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/application.properties.tpl b/.docker/application.properties.tpl index 85c2425a..733668da 100644 --- a/.docker/application.properties.tpl +++ b/.docker/application.properties.tpl @@ -24,8 +24,8 @@ spring.jackson.serialization.write-dates-as-timestamps=false server.servlet.contextPath=/atlas # Max file upload size spring.servlet.multipart.enabled=true -spring.servlet.multipart.max-file-size={{.Env.UPLOAD_FILE_SIZE}} -spring.servlet.multipart.max-request-size={{.Env.UPLOAD_FILE_SIZE}} +spring.servlet.multipart.max-file-size={{ default .Env.UPLOAD_FILE_SIZE "150MB"}} +spring.servlet.multipart.max-request-size={{ default .Env.UPLOAD_FILE_SIZE "150MB"}} # Winery org.planqk.atlas.winery.protocol={{.Env.WINERY_PROTOCOL}}