application.properties 1.22 KB
Newer Older
willgonzz committed
1

2
spring.jpa.hibernate.ddl-auto=create-drop
3
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
4 5 6 7
#spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.format_sql=true
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
8 9 10

spring.sql.init.mode=always
spring.sql.init.platform=postgres
11
spring.datasource.url=jdbc:postgresql://localhost:5432/thumano
12 13
spring.datasource.username=buscamascota
spring.datasource.password=buscamascota
14 15
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

16
#server.port=8888
17
spring.mvc.view.prefix=/jsp/
18
spring.mvc.view.suffix=.jsp
19
server.error.whitelabel.enabled=false
20 21 22 23 24 25 26
spring.mail.host=smtp.gmail.com
spring.mail.username=fpunascrumkanban@gmail.com
spring.mail.password=fpunascrumkanban123
spring.mail.port=587
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true

27 28 29 30 31 32 33 34 35 36

## MULTIPART (MultipartProperties)
# Enable multipart uploads
spring.servlet.multipart.enabled=true
# Threshold after which files are written to disk.
spring.servlet.multipart.file-size-threshold=2KB
# Max file size.
spring.servlet.multipart.max-file-size=10MB
# Max Request Size
spring.servlet.multipart.max-request-size=10MB