application.properties ์ค์
# JWT ํ ํฐ ๋น๋ฐํค
spring.jwt.secret ={SECRET_KEY}
# MySQL ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ค์
spring.datasource.driver-class-name =com.mysql.cj.jdbc.Driver
spring.datasource.url =jdbc:mysql://localhost:3306/{DB๋ช
}?useSSL =false&useUnicode =true&serverTimezone =Asia/Seoul&allowPublicKeyRetrieval =true
spring.datasource.username ={์ ์ ๋ค์}
spring.datasource.password ={๋น๋ฐ๋ฒํธ}
# Redis
spring.data.redis.host =localhost
spring.data.redis.port =6379
# JPA
spring.jpa.hibernate.ddl-auto =update
spring.jpa.hibernate.naming.physical-strategy =org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.properties.hibernate.default_batch_fetch_size =100
# S3 ์ค์
cloud.aws.region.static =ap-northeast-2
cloud.aws.stack.auto-=false
cloud.aws.s3.bucket ={๋ฒํท์ด๋ฆ}
cloud.aws.credentials.accessKey ={๋ฐ๊ธ๋ฐ์ ์์ธ์คํค}
cloud.aws.credentials.secretKey ={๋ฐ๊ธ๋ฐ์ ์ํฌ๋ฆฟํค}}
cloud.aws.s3.defaultUserImageUrl ={๊ธฐ๋ณธ ์ ์ ์ด๋ฏธ์ง URL}
cloud.aws.s3.defaultChatRoomImageUrl ={๊ธฐ๋ณธ ์ฑํ
๋ฐฉ ์ด๋ฏธ์ง URL}
# GMail Settings
spring.mail.host =smtp.gmail.com
spring.mail.port =587
spring.mail.username ={๋ฐ์กํ๋ ์ด๋ฉ์ผ}
spring.mail.password ={๊ตฌ๊ธ ์ฑ ํค}
spring.mail.properties.mail.smtp.auth =true
spring.mail.properties.mail.smtp.starttls.enable =true
# Youtube api ์ค์
youtube.apikey ={youtube apikey}