Skip to content

Commit

Permalink
chore: sms 서비스 관련 설정 추가(#28)
Browse files Browse the repository at this point in the history
sms 서비스를 이용하기 위해 필요한 설정들 추가
  • Loading branch information
Minjae-An committed Mar 14, 2024
1 parent c8a4c13 commit 2a98c5d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions be/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
spring:
config:
import: "classpath:application.properties"

datasource:
url: ${DATABASE_URL}
username: ${DATABASE_USERNAME}
password: ${DATABASE_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

jpa:
properties:
hibernate:
show_sql: true
format_sql: true

mail:
host: smtp.gmail.com
port: 587
username: ${GOOGLE_SMTP_USERNAME}
password: ${GOOGLE_SMTP_PASSWORD}

sms:
api_key: ${SMS_API_KEY}
api_secret: ${SMS_API_SECRET}
provider: https://api.coolsms.co.kr
sender: ${SMS_SENDER}

0 comments on commit 2a98c5d

Please sign in to comment.