-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] #107 - Rds비용 부담 문제로 인한 oracle -> mysql로 데이터 마이그레이션 작업
- Loading branch information
odls
authored and
odls
committed
Nov 18, 2024
1 parent
20ca258
commit 06d7ac3
Showing
19 changed files
with
141 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ build/ | |
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
.env | ||
.env-prod | ||
*.java~ | ||
|
||
### STS ### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
server.port=8081 | ||
|
||
# .env ?? | ||
spring.config.import=optional:file:.env-prod[.properties] | ||
|
||
targetIp = ${TARGET_IP} | ||
|
||
# Mysql | ||
spring.datasource.url=jdbc:mysql://${MYSQL_IP}:${MYSQL_PORT}/${MYSQL_DATABASE_NAME}?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Seoul | ||
spring.datasource.username=${MYSQL_USERNAME} | ||
spring.datasource.password=${MYSQL_PASSWORD} | ||
|
||
# JPA ???? | ||
spring.jpa.properties.hibernate.show_sql=true | ||
spring.jpa.properties.hibernate.format_sql=true | ||
spring.jpa.properties.hibernate.highlight_sql=true | ||
spring.jpa.hibernate.ddl-auto=create | ||
spring.jpa.properties.hibernate.jdbc.time_zone= Asia/Seoul | ||
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect | ||
spring.jpa.defer-datasource-initialization=true | ||
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl | ||
|
||
logging.level.org.hibernate.orm.jdbc.bind: trace | ||
|
||
# data.sql ?? ?? | ||
spring.sql.init.mode=always | ||
|
||
# naver OAuth2 | ||
spring.security.oauth2.client.registration.naver.client-id=${NAVER_CLIENT_ID} | ||
spring.security.oauth2.client.registration.naver.client-secret=${NAVER_CLIENT_SECRET} | ||
spring.security.oauth2.client.registration.naver.redirect-uri=${NAVER_CLIENT_REDIRECT_URL} | ||
spring.security.oauth2.client.registration.naver.authorization-grant-type=authorization_code | ||
spring.security.oauth2.client.registration.naver.scope=name | ||
spring.security.oauth2.client.provider.naver.authorization-uri=https://nid.naver.com/oauth2.0/authorize | ||
spring.security.oauth2.client.provider.naver.token-uri=https://nid.naver.com/oauth2.0/token | ||
spring.security.oauth2.client.provider.naver.user-info-uri=https://openapi.naver.com/v1/nid/me | ||
spring.security.oauth2.client.provider.naver.user-name-attribute=response | ||
|
||
# jwt | ||
jwt.secret=${JWT_SECRET_KEY} | ||
jwt.expiration=86400 | ||
|
||
# redis | ||
spring.data.redis.host=${REDIS_HOST} | ||
spring.data.redis.port=${REDIS_PORT} | ||
spring.data.redis.password=${REDIS_PASSWORD} | ||
spring.data.redis.timeout=5000ms | ||
|
||
# imgfile | ||
spring.servlet.multipart.enabled=true | ||
spring.servlet.multipart.max-file-size=10MB | ||
spring.servlet.multipart.max-request-size=10MB | ||
|
||
# S3 | ||
cloud.aws.credentials.accessKey=${AWS_ACCESS_KEY} | ||
cloud.aws.credentials.secretKey=${AWS_SECRET_KEY} | ||
cloud.aws.s3.bucketName=${AWS_BUCKET_NAME} | ||
cloud.aws.region.static=${AWS_REGION} | ||
cloud.aws.stack.auto-=false |
Oops, something went wrong.