Add: custom Exception for fine-grain error handling. Add: env variables for deploying in prod.
This commit is contained in:
@@ -1,43 +1,21 @@
|
||||
server:
|
||||
port: 8080
|
||||
servlet:
|
||||
context-path: /v2/core
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: core-service
|
||||
|
||||
datasource:
|
||||
url: jdbc:mariadb://localhost:3306/miarma_v2
|
||||
username: admin
|
||||
password: ositovito
|
||||
driver-class-name: org.mariadb.jdbc.Driver
|
||||
|
||||
jpa:
|
||||
open-in-view: false
|
||||
hibernate:
|
||||
ddl-auto: validate
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
jdbc:
|
||||
time_zone: UTC
|
||||
|
||||
jackson:
|
||||
serialization:
|
||||
indent-output: true
|
||||
default-property-inclusion: non_null
|
||||
time-zone: Europe/Madrid
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.hibernate.SQL: DEBUG
|
||||
org.hibernate.orm.jdbc.bind: TRACE
|
||||
org.springframework.security: INFO
|
||||
|
||||
jwt:
|
||||
private-key-path: /home/jomaa/.config/miarma-backend/private.pem
|
||||
public-key-path: /home/jomaa/.config/miarma-backend/public.pem
|
||||
expiration-ms: 3600000
|
||||
|
||||
management:
|
||||
|
||||
Reference in New Issue
Block a user