Skip to content

Commit

Permalink
chore: application.yml 파일 작성(#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
whereami2048 committed Apr 30, 2024
1 parent 53075d0 commit 3bab5ca
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
1 change: 0 additions & 1 deletion Api-Module/src/main/resources/application.properties

This file was deleted.

28 changes: 28 additions & 0 deletions Api-Module/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
spring:
application:
name: Api-Module

datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate.format_sql: true
dialect: org.hibernate.dialect.MySQLDialect

security:
oauth2:
client:
registration:
google:
client-id: ${OAUTH_GOOGLE_CLIENT_ID}
client-secret: ${OAUTH_GOOGLE_CLIENT_SECRET}
scope:
- email
- profile
redirect-uri: ${OAUTH_GOOGLE_REDIRECT_URI}

0 comments on commit 3bab5ca

Please sign in to comment.