-
Notifications
You must be signed in to change notification settings - Fork 8
feat: Parameter Store 기반 설정 관리 전환 및 loadtest 프로필 추가 #670
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
Changes from 6 commits
9d67065
8f0d17c
baa7977
8948dad
74f8f3b
1c8cb90
2ff0c37
2ecf68c
ea18274
f112420
58b9ff3
730068c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| spring: | ||
| config: | ||
| activate: | ||
| on-profile: loadtest | ||
|
|
||
| jpa: | ||
| show-sql: false | ||
| properties: | ||
| hibernate: | ||
| format_sql: false | ||
|
|
||
| datasource: | ||
| hikari: | ||
| maximum-pool-size: 50 | ||
| minimum-idle: 20 | ||
|
Member
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. 부하 테스트시에는 flyway 사용 안 하니까 명시적으로
Contributor
Author
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. 확인했습니당 |
||
|
|
||
| websocket: | ||
| thread-pool: | ||
| inbound: | ||
| core-pool-size: 24 | ||
| max-pool-size: 48 | ||
| queue-capacity: 4000 | ||
| outbound: | ||
| core-pool-size: 24 | ||
| max-pool-size: 48 | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| queue-capacity: 4000 | ||
| heartbeat: | ||
| server-interval: 10000 | ||
| client-interval: 10000 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| spring: | ||
| config: | ||
| activate: | ||
| on-profile: local, dev, prod, loadtest | ||
|
|
||
| cloud: | ||
| aws: | ||
| region: | ||
| static: ${CLOUD_AWS_REGION:ap-northeast-2} | ||
| stack: | ||
| auto: false | ||
| s3: | ||
| bucket: ${CLOUD_AWS_S3_BUCKET} | ||
| url: | ||
| default: ${CLOUD_AWS_S3_URL_DEFAULT} | ||
| uploaded: ${CLOUD_AWS_S3_URL_UPLOADED} | ||
| cloudFront: | ||
| url: | ||
| default: ${CLOUD_AWS_CLOUDFRONT_URL_DEFAULT} | ||
| uploaded: ${CLOUD_AWS_CLOUDFRONT_URL_UPLOADED} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| spring: | ||
| data: | ||
| redis: | ||
| host: ${REDIS_HOST:localhost} | ||
| port: ${REDIS_PORT:6379} | ||
|
|
||
| --- | ||
| spring: | ||
| config: | ||
| activate: | ||
| on-profile: prod | ||
|
|
||
| jpa: | ||
| hibernate: | ||
| ddl-auto: none | ||
| generate-ddl: false | ||
| show-sql: false | ||
| database: mysql | ||
| defer-datasource-initialization: false | ||
|
|
||
| datasource: | ||
| driverClassName: com.mysql.cj.jdbc.Driver | ||
| url: ${DB_URL} | ||
| username: ${DB_USERNAME} | ||
| password: ${DB_PASSWORD} | ||
|
|
||
| flyway: | ||
| enabled: true | ||
| locations: classpath:db/migration | ||
| baseline-on-migrate: true | ||
| user: ${FLYWAY_DB_USERNAME} | ||
| password: ${FLYWAY_DB_PASSWORD} | ||
|
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
|
|
||
| --- | ||
| spring: | ||
| config: | ||
| activate: | ||
| on-profile: dev | ||
|
|
||
| jpa: | ||
| hibernate: | ||
| ddl-auto: validate | ||
| generate-ddl: false | ||
| show-sql: false | ||
| database: mysql | ||
| defer-datasource-initialization: false | ||
|
|
||
| datasource: | ||
| driverClassName: com.mysql.cj.jdbc.Driver | ||
| url: ${DB_URL} | ||
| username: ${DB_USERNAME} | ||
| password: ${DB_PASSWORD} | ||
|
|
||
| flyway: | ||
| enabled: true | ||
| locations: classpath:db/migration | ||
| baseline-on-migrate: true | ||
| user: ${FLYWAY_DB_USERNAME} | ||
| password: ${FLYWAY_DB_PASSWORD} | ||
|
|
||
| --- | ||
| spring: | ||
| config: | ||
| activate: | ||
| on-profile: local | ||
|
|
||
| jpa: | ||
| hibernate: | ||
| ddl-auto: create | ||
| generate-ddl: true | ||
| show-sql: true | ||
| database: mysql | ||
| defer-datasource-initialization: true | ||
| properties: | ||
| hibernate: | ||
| format_sql: true | ||
|
|
||
| sql: | ||
| init: | ||
| mode: always | ||
|
|
||
| datasource: | ||
| driverClassName: com.mysql.cj.jdbc.Driver | ||
| url: ${LOCAL_DB_URL:jdbc:mysql://localhost/solid_connection?serverTimezone=Asia/Seoul&characterEncoding=UTF-8} | ||
| username: ${LOCAL_DB_USERNAME} | ||
| password: ${LOCAL_DB_PASSWORD} | ||
|
|
||
| flyway: | ||
| enabled: false | ||
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.
docker compose에 리전을 추가하셨는데, EC2의 리전을 추론하도록 하면 어떤 차이가 있을까요 ?
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.
명시 안했을 때 이점이 인프라 리전 변경했을 때 자동추론 밖에 없는데 그냥 명시하는 게 안정적일 것 같아 명시했습니다!