Skip to content

Commit

Permalink
add :: yml
Browse files Browse the repository at this point in the history
  • Loading branch information
meltapplee committed Sep 2, 2024
1 parent 39fbfa0 commit ff91f15
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
hikari:
maxLifetime: 580000
jpa:
hibernate:
ddl-auto: update
show-sql: false
properties:
hibernate:
format_sql: true
open-in-view: false
database: mysql

jackson:
property-naming-strategy: SNAKE_CASE

auth:
jwt:
secretKey: ${SECRET_KEY}
accessExp: ${ACCESS_EXP}
refreshExp: ${REFRESH_EXP}
header: "Authorization"
prefix: "Bearer "

server:
port: 8989

0 comments on commit ff91f15

Please sign in to comment.