Skip to content

Commit

Permalink
Chore: (main) application.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed Nov 9, 2023
1 parent 3708e91 commit 9ee972e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ out/
/src/main/resources/static/docs

### application.yml ###
/src/main/resources/application.yml
#/src/main/resources/application.yml
/src/test/resources/application.yml

### .ENV ###
Expand Down
7 changes: 4 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${DB_URL:localhost}:${DB_PORT:3306}/${DB_NAME:sfe}?useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true
username: ${DB_USERNAME:root}
password: ${DB_PASSWORD:qaz}
password: ${DB_PASSWORD}

jpa:
hibernate:
Expand All @@ -15,8 +15,9 @@ spring:
database-platform: org.hibernate.dialect.MySQL8Dialect

redis:
host: localhost
port: 6379
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD}

jwt:
secret-key: ${SECRET_KEY}
Expand Down

0 comments on commit 9ee972e

Please sign in to comment.