Commit c76b181c authored by Ghitha Dinan's avatar Ghitha Dinan

change config

parent 8f54f5e0
Pipeline #404 canceled with stages
# SERVER CONFIG
spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false
spring.profiles.active=development
#server.port=8081
server.port=8082
# DATABASE CONFIG
# local
spring.datasource.url=jdbc:postgresql://localhost:5432/pmrms
spring.datasource.username=postgres
spring.datasource.password=root
# dev
#spring.datasource.url=jdbc:postgresql://128.199.84.134:15434/pmrms_db
#spring.datasource.username=postgres
#spring.datasource.password=KemInfo2021
# JPA CONFIG
spring.jpa.hibernate.ddl-auto=none
spring.jpa.generate-ddl=false
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.legacy_limit_handler=true
spring.jpa.properties.hibernate.format_sql=true
# UPLOAD CONFIG
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
# MAIl CONFIG DEV
spring.mail.host=smtp.mailtrap.io
spring.mail.port=587
spring.mail.username=bb817095de807a
spring.mail.password=e625767e122812
spring.mail.from=0b5d29e626-65f490@inbox.mailtrap.io
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.connectiontimeout=25000
spring.mail.properties.mail.smtp.timeout=25000
spring.mail.properties.mail.smtp.writetimeout=25000
spring.mail.properties.mail.smtp.starttls.enable=true
# APP CONFIG
app.name = PMRMS
server.max-http-header-size=10000KB
# Swagger
swagger.host=localhost:8082
swagger.protocol=http
spring.main.allow-circular-references= true
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment