Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PMRMS Notif
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ghitha Dinan
PMRMS Notif
Commits
c76b181c
Commit
c76b181c
authored
Jan 10, 2022
by
Ghitha Dinan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change config
parent
8f54f5e0
Pipeline
#404
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
application.properties
src/main/resources/application.properties
+52
-0
No files found.
src/main/resources/application.properties
View file @
c76b181c
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment