|
Last change
on this file since 48d2bed was 48d2bed, checked in by MBK <marija.karapandzova@…>, 2 days ago |
|
Remote database setup, fixed models and application properties
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | spring.application.name=medora
|
|---|
| 2 | server.port=8081
|
|---|
| 3 | spring.profiles.active=remote
|
|---|
| 4 | spring.config.import=optional:file:.env.properties
|
|---|
| 5 |
|
|---|
| 6 | spring.servlet.multipart.max-file-size=5MB
|
|---|
| 7 | spring.servlet.multipart.max-request-size=6MB
|
|---|
| 8 |
|
|---|
| 9 | # Spring Security - Development credentials
|
|---|
| 10 | spring.security.user.name=admin
|
|---|
| 11 | spring.security.user.password=${DB_PASSWORD}
|
|---|
| 12 |
|
|---|
| 13 | # JWT Configuration
|
|---|
| 14 | jwt.secret=${JWT_SECRET}
|
|---|
| 15 | jwt.expiration=86400000
|
|---|
| 16 |
|
|---|
| 17 | # JPA / Hibernate settings
|
|---|
| 18 | spring.jpa.hibernate.ddl-auto=none
|
|---|
| 19 | spring.jpa.show-sql=true
|
|---|
| 20 | spring.jpa.open-in-view=true
|
|---|
| 21 | spring.jpa.properties.hibernate.format_sql=true
|
|---|
| 22 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|---|
| 23 |
|
|---|
| 24 | # HikariCP connection pool settings
|
|---|
| 25 | spring.datasource.hikari.maximum-pool-size=20
|
|---|
| 26 | spring.datasource.hikari.minimum-idle=5
|
|---|
| 27 | spring.datasource.hikari.connection-timeout=20000
|
|---|
| 28 | spring.datasource.hikari.idle-timeout=300000
|
|---|
| 29 | spring.datasource.hikari.max-lifetime=1200000
|
|---|
| 30 | spring.datasource.hikari.auto-commit=true
|
|---|
| 31 | spring.datasource.hikari.leak-detection-threshold=60000
|
|---|
| 32 |
|
|---|
| 33 | # Jackson serialization settings
|
|---|
| 34 | spring.jackson.serialization.fail-on-empty-beans=false
|
|---|
| 35 | spring.jackson.default-property-inclusion=non_null
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.