기존 깃허브
spring:
jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
hibernate:
ddl-auto: update
properties:
hibernate:
show_sql: true
format_sql: true
open-in-view: false
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mvc:
pathmatch:
matching-strategy: ant_path_matcher
jackson:
mapper:
accept-case-insensitive-enums: true
cloud:
aws:
credentials:
access-key: AKIAVPAOA5WKLKDZ5UFU
secret-key: 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
region:
static: ap-northeast-2
s3:
bucket: sulsul-media-bucket
stack:
auto: false
로컬 yml
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
jackson:
mapper:
accept-case-insensitive-enums: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/sulsul?serverTimezone=Asia/Seoul
username: root
password: 1234
jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
hibernate:
ddl-auto: create
properties:
hibernate:
show_sql: true
format_sql: true
open-in-view: false
security:
oauth2:
client:
registration:
kakao:
client-id: 0c67e7fe975454e2ece8b6d77efe298d
scope:
- profile_nickname
- account_email
redirect-uri: "<http://localhost:8080/login/oauth2/code/kakao>"
client-authentication-method: POST
authorization-grant-type: authorization_code
client-name: kakao
provider:
kakao:
authorization-uri: <https://kauth.kakao.com/oauth/authorize>
token-uri: <https://kauth.kakao.com/oauth/token>
user-info-uri: <https://kapi.kakao.com/v2/user/me>
user-name-attribute: id
# kauth.kakao.com/oauth/authorize?client_id=0c67e7fe975454e2ece8b6d77efe298d&redirect_uri=http://localhost:8080/login/oauth2/code/kakao&response_type=code
# <http://localhost:8080/oauth2/authorization/kakao>
cloud:
aws:
credentials:
access-key: AKIAVPAOA5WKLKDZ5UFU
secret-key: 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
region:
static: ap-northeast-2
s3:
bucket: sulsul-media-bucket
stack:
auto: false