Skip to content

Commit

Permalink
Production Profile mysql 추가
Browse files Browse the repository at this point in the history
Production Profile mysql 추가
  • Loading branch information
xGreenNarae authored Oct 11, 2023
2 parents 63261b0 + dac23bf commit bba65c0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions animory/src/main/resources/application-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ spring:

# DB
datasource:
url: jdbc:h2:mem:test;MODE=MySQL
driver-class-name: org.h2.Driver
username: sa
password:
h2.console.enabled: true
url: ${DATABASE_URL}?allowPublicKeyRetrieval=true&useSSL=false
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${DATABASE_USERNAME}
password: ${DATABASE_PASSWORD}
jpa:
show-sql: true
open-in-view: false
hibernate.ddl-auto: create
hibernate.ddl-auto: update
properties:
hibernate.format_sql: true

Expand Down

0 comments on commit bba65c0

Please sign in to comment.