Skip to content

Commit

Permalink
fix : 서버 배포용 application.yml수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KangJiSseok committed May 13, 2024
1 parent 9c10fb6 commit 2ef7e50
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions BackEnd/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,22 @@ springdoc:


#SSL
#server:
# ssl:
# key-store: file:/home/ubuntu/key/ssl/keystore.p12
# key-store-type: PKCS12
# key-store-password: 1234
server:
ssl:
key-store: file:/home/ubuntu/key/ssl/keystore.p12
key-store-type: PKCS12
key-store-password: 1234

#MySQL
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: "jdbc:mysql://localhost:3306/JPA?characterEncoding=UTF-8&serverTimezone=UTC"
username: "springDB"
password:
# url: ${MYSQL_DATABASE_URL}
# username: ${MYSQL_DATABASE_USERNAME}
# password: ${MYSQL_DATABASE_PASSWORD}

url: ${MYSQL_DATABASE_URL}
username: ${MYSQL_DATABASE_USERNAME}
password: ${MYSQL_DATABASE_PASSWORD}
# url: "jdbc:mysql://localhost:3306/JPA?characterEncoding=UTF-8&serverTimezone=UTC"
# username: "springDB"
# password:
jpa:
show-sql: true
hibernate:
Expand Down

0 comments on commit 2ef7e50

Please sign in to comment.