-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] 새로운 AWS 계정에서 Prod 환경 CI/CD 구축 #418
Changes from all commits
0064d39
0055481
b13d34c
267c715
a7c71f4
02506c3
8ef4305
9a0d117
9b7442f
056ce94
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,10 @@ spring: | |
config: | ||
import: prod-secret.yml | ||
datasource: | ||
source: | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
username: ${secret.datasource.source.username} | ||
password: ${secret.datasource.source.password} | ||
jdbc-url: jdbc:mysql://${secret.datasource.source.host}:${secret.datasource.source.port}/${secret.datasource.database}?serverTimezone=Asia/Seoul&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&useSSL=false | ||
replica: | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
username: ${secret.datasource.replica.username} | ||
password: ${secret.datasource.replica.password} | ||
jdbc-url: jdbc:mysql://${secret.datasource.replica.host}:${secret.datasource.replica.port}/${secret.datasource.database}?serverTimezone=Asia/Seoul&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&useSSL=false | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
url: jdbc:mysql://${secret.datasource.host}:${secret.datasource.port}/${secret.datasource.database}?useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true&autoReconnect=true&serverTimezone=Asia/Seoul&useLegacyDatetimeCode=false | ||
username: ${secret.datasource.username} | ||
password: ${secret.datasource.password} | ||
Comment on lines
+5
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 내 소중한 작업이ㅠㅠㅠ |
||
|
||
sql: | ||
init: | ||
|
@@ -20,7 +14,7 @@ spring: | |
jpa: | ||
database-platform: org.hibernate.dialect.MySQLDialect | ||
hibernate: | ||
ddl-auto: none | ||
ddl-auto: validate | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍🏻 |
||
properties: | ||
hibernate: | ||
jdbc: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사소한 의견) Linux랑 X64까지 표기해줬으면 좋겠어요~
환경까지 구분 명확히 해주면 좋을 것 같아서요~ 저는 dev, X64, Linux 로 해뒀어용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./.github/workflows/blue-green.yml
에 값을 넘겨 주어 사용하는 것이다 보니, 환경까지 넘겨주기에는 최적화 되어있지 않네요;;