-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.properties
50 lines (40 loc) · 1.38 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Active Profile
spring.profiles.active=${RSHOP_ACTIVE_PROFILE:dev}
# Web server
server.port=${RSHOP_SERVER_PORT:8080}
server.compression.enabled=true
server.servlet.context-path=/
# JPA
spring.jpa.open-in-view=false
spring.jpa.defer-datasource-initialization=false
# Jackson
spring.jackson.deserialization.fail-on-unknown-properties=true
spring.jackson.deserialization.fail-on-ignored-properties=true
# AWS
aws.access_key_id=${RSHOP_AWS_KEY:empty}
aws.secret_access_key=${RSHOP_AWS_SECRET:empty}
s3.bucket=${RSHOP_AWS_BUCKET_NAME:empty}
s3.region=${RSHOP_AWS_BUCKET_REGION:sa-east-1}
# File upload
spring.servlet.multipart.max-file-size=${RSHOP_MAX_FILE_SIZE:10MB}
spring.servlet.multipart.max-request-size=${RSHOP_MAX_FILE_SIZE:10MB}
# Email
spring.sendgrid.api-key=${RSHOP_SENDGRID_API_KEY:empty}
rshop.mail.sender.name=rShop
# OpenAPI
springdoc.packagesToScan=br.com.roanrobersson.rshop.api
springdoc.pathsToMatch=/v1/**
springdoc.swagger-ui.tagsSorter=alpha
springdoc.swagger-ui.operationsSorter=alpha
# Data Web
spring.data.web.pageable.default-page-size=20
spring.data.web.pageable.max-page-size=200
# Other
spring.mvc.throw-exception-if-no-handler-found=true
spring.resources.add-mappings=false
spring.messages.basename=messages/messages
# Logs
#server.error.include-stacktrace=never
#logging.level.org.springframework=OFF
#logging.level.root=OFF