Skip to content

Commit

Permalink
Merge pull request #52 from 0702Yoon/main
Browse files Browse the repository at this point in the history
ec2 서버에 데이터베이스 설정 바꿈
  • Loading branch information
0702Yoon authored Aug 12, 2024
2 parents e4d7dd1 + 0fe7560 commit b641ddd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ spring:
time-zone: Asia/Seoul

# 환경 변수를 사용하는 데이터베이스 설정 (주석 해제 필요시)
# datasource:
# url: ${DB_URL}
# username: ${DB_NAME}
# password: ${DB_PASSWORD}
# hikari:
# max-lifetime: 177000 # 177초, hikari는 RDS wait_timeout(180초) 보다 2 ~ 3초 정도 짧게 줄 것을 권장
# driver-class-name: com.mysql.cj.jdbc.Driver

# 김동연 로컬 데이터베이스 설정
datasource:
username: root
password: 1234
url: jdbc:mysql://localhost:3306/bigbrother
url: ${DB_URL}
username: ${DB_NAME}
password: ${DB_PASSWORD}
hikari:
max-lifetime: 177000 # 177초, hikari는 RDS wait_timeout(180초) 보다 2 ~ 3초 정도 짧게 줄 것을 권장
driver-class-name: com.mysql.cj.jdbc.Driver

# 김동연 로컬 데이터베이스 설정
# datasource:
# username: root
# password: 1234
# url: jdbc:mysql://localhost:3306/bigbrother
# driver-class-name: com.mysql.cj.jdbc.Driver

# 태태 로컬 데이터베이스 설정
# datasource:
# url: jdbc:mysql://localhost:3306/bigbrother
Expand Down

0 comments on commit b641ddd

Please sign in to comment.