|
Last change
on this file since 2e0035f was 2e0035f, checked in by Acko <lavurovski.a65@…>, 8 days ago |
|
Initial Commit
|
-
Property mode
set to
100644
|
|
File size:
1.3 KB
|
| Rev | Line | |
|---|
| [2e0035f] | 1 | server:
|
|---|
| 2 | port: 8080
|
|---|
| 3 |
|
|---|
| 4 | spring:
|
|---|
| 5 | application:
|
|---|
| 6 | name: nutritioneer
|
|---|
| 7 |
|
|---|
| 8 | datasource:
|
|---|
| 9 | url: ${DB_URL:jdbc:postgresql://localhost:9999/db_202526z_prj_nutritioneer}
|
|---|
| 10 | username: ${DB_USER:db_202526z_prj_nutritioneer_owner}
|
|---|
| 11 | password: ${DB_PASSWORD:4da5d69c3fc5}
|
|---|
| 12 | hikari:
|
|---|
| 13 |
|
|---|
| 14 | maximum-pool-size: ${DB_POOL_SIZE:5}
|
|---|
| 15 | minimum-idle: 1
|
|---|
| 16 | max-lifetime: 300000 # 5 min, shorter than most SSH idle timeouts
|
|---|
| 17 | idle-timeout: 120000
|
|---|
| 18 | connection-timeout: 10000
|
|---|
| 19 | validation-timeout: 5000
|
|---|
| 20 | keepalive-time: 60000
|
|---|
| 21 |
|
|---|
| 22 | jpa:
|
|---|
| 23 | hibernate:
|
|---|
| 24 | # The schema is owned by the SQL scripts in /sql, never by Hibernate.
|
|---|
| 25 | ddl-auto: none
|
|---|
| 26 | open-in-view: false
|
|---|
| 27 | properties:
|
|---|
| 28 | hibernate:
|
|---|
| 29 | format_sql: true
|
|---|
| 30 | default_schema: ${DB_SCHEMA:public}
|
|---|
| 31 | jdbc:
|
|---|
| 32 | time_zone: UTC
|
|---|
| 33 | show-sql: ${SHOW_SQL:false}
|
|---|
| 34 |
|
|---|
| 35 | jackson:
|
|---|
| 36 | default-property-inclusion: non_null
|
|---|
| 37 |
|
|---|
| 38 | app:
|
|---|
| 39 | jwt:
|
|---|
| 40 | # Override in production. Must be at least 32 bytes for HS256.
|
|---|
| 41 | secret: ${JWT_SECRET:change-me-in-production-this-is-a-dev-only-secret-key}
|
|---|
| 42 | expiration-minutes: ${JWT_EXPIRATION_MINUTES:120}
|
|---|
| 43 | cors:
|
|---|
| 44 | allowed-origins: ${CORS_ORIGINS:http://localhost:5173}
|
|---|
| 45 |
|
|---|
| 46 | springdoc:
|
|---|
| 47 | swagger-ui:
|
|---|
| 48 | path: /swagger-ui.html
|
|---|
| 49 | operations-sorter: alpha
|
|---|
| 50 | tags-sorter: alpha
|
|---|
| 51 |
|
|---|
| 52 | logging:
|
|---|
| 53 | level:
|
|---|
| 54 | mk.finki.nutritioneer: DEBUG
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.