Skip to content

Commit

Permalink
add default values for multipart config (#211)
Browse files Browse the repository at this point in the history
Signed-off-by: Marvin Bechtold <marvin.bechtold.dev@gmail.com>
  • Loading branch information
mar-be authored Feb 15, 2022
1 parent 4743f1a commit 338fbee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .docker/application.properties.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 338fbee

Please sign in to comment.