All checks were successful
Backend CI / Run Maven Tests (push) Successful in 28s
Reviewed-on: #7 Co-authored-by: Jarno Kiesiläinen <jarnokie@gmail.com> Co-committed-by: Jarno Kiesiläinen <jarnokie@gmail.com>
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
server:
|
|
port: 8090
|
|
servlet:
|
|
context-path: /api
|
|
|
|
spring:
|
|
application:
|
|
name: vibing-backend
|
|
|
|
# Database Configuration
|
|
datasource:
|
|
url: jdbc:postgresql://dind:5432/vibing
|
|
username: vibing
|
|
password: vibing
|
|
driver-class-name: org.postgresql.Driver
|
|
|
|
# JPA Configuration
|
|
jpa:
|
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
|
hibernate:
|
|
ddl-auto: update
|
|
show-sql: true
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
|
|
# Jackson Configuration
|
|
jackson:
|
|
default-property-inclusion: non_null
|
|
serialization:
|
|
write-dates-as-timestamps: false
|
|
deserialization:
|
|
fail-on-unknown-properties: false
|
|
|
|
# Logging Configuration
|
|
logging:
|
|
level:
|
|
com.vibing.backend: DEBUG
|
|
org.springframework.security: DEBUG
|
|
org.springframework.web: DEBUG
|
|
pattern:
|
|
console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
|
|
|
|
# API Documentation
|
|
springdoc:
|
|
api-docs:
|
|
path: /api-docs
|
|
swagger-ui:
|
|
path: /swagger-ui.html
|
|
operations-sorter: method
|
|
|
|
# Security Configuration
|
|
security:
|
|
jwt:
|
|
secret: your-secret-key-here-change-in-production
|
|
expiration: 86400000 # 24 hours in milliseconds |