Skip to content

Commit

Permalink
feat: 개발용 properties 파일 추가 및 RDS 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
wwingyou committed Apr 7, 2024
1 parent 1d6579d commit 9feec86
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/main/resources/applicatoin-dev.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
spring.application.name=tech

#database
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://db-main.cbsm0ayi4dgw.ap-northeast-2.rds.amazonaws.com:3306/tgwing?serverTimezone=Asia/Seoul&characterEncoding=UTF-8
spring.datasource.username=admin
spring.datasource.password=tgwing2024

# spring data jpa
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=create
spring.jpa.open-in-view=false
spring.jpa.generate-ddl=true
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect

# Web configurations
spring.web.locale=ko-KR

# AWS S3 configurations
spring.servlet.multipart.max-file-size=50MB
spring.servlet.multipart.max-request-size=50MB

cloud.aws.s3.bucket=mention-bucket.bucket
cloud.aws.region.static=ap-northeast-2
cloud.aws.region.auto=false
cloud.aws.stack.auto=false

0 comments on commit 9feec86

Please sign in to comment.