Skip to content

Commit

Permalink
DB_USER_NAME 변수로 변경
Browse files Browse the repository at this point in the history
DB_USER_NAME 변수로 변경
  • Loading branch information
0702Yoon authored Aug 13, 2024
1 parent fb9fa84 commit d13bb5c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ spring:
time-zone: Asia/Seoul

# 환경 변수를 사용하는 데이터베이스 설정 (주석 해제 필요시)
# datasource:
# url: ${DB_URL}
# username: ${DB_USER_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:
url: ${DB_URL}
username: ${DB_USER_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:
url: jdbc:mysql://localhost:3306/bigbrother
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: 1234
# # 태태 로컬 데이터베이스 설정
# datasource:
# url: jdbc:mysql://localhost:3306/bigbrother
# driver-class-name: com.mysql.cj.jdbc.Driver
# username: root
# password: 1234

# 상윤 로컬 데이터베이스 설정
# datasource:
Expand Down

0 comments on commit d13bb5c

Please sign in to comment.