-
Notifications
You must be signed in to change notification settings - Fork 1
feat: 실시간 경매장 정보 fetcher and sheduler 및 거대한 외침의 뿔피리 엘라스틱 서치 구현 #91
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0ed2300
feat: auction realtime flyway script 및 스케쥴러 구현
dev-ant 372b501
feat: item_option 세공 옵션 파싱 로직 추가
dev-ant c5381d6
feat: horn bugle eleastic search 구현
dev-ant 5ff52ae
feat: auction realtime api permitall 설정
dev-ant b49f803
docs: README 업데이트
dev-ant 4ca2732
infra: docker-compose-prod에 elastic search 추가
dev-ant 8050a30
fix: optimize imports
dev-ant d0c9228
fix: hornbugle test 코드 제거
dev-ant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,81 @@ | ||
| # ============================================================================= | ||
| # Production Environment Configuration | ||
| # ============================================================================= | ||
| # 운영 환경용 설정 파일 | ||
| # | ||
| # 사용법: | ||
| # 1. 이 파일을 .env.prod로 복사하세요 | ||
| # 2. 필요한 값들을 채워넣으세요 | ||
| # 3. docker-compose -f docker-compose-prod.yml --env-file .env.prod up -d 로 실행하세요 | ||
| # | ||
| # 주의: .env.prod 파일은 민감한 정보를 포함하므로 절대 Git에 커밋하지 마세요! | ||
| # ============================================================================= | ||
|
|
||
| # ============================================================================= | ||
| # Application Configuration | ||
| # ============================================================================= | ||
| SERVER_PORT=8080 | ||
|
|
||
| # ============================================================================= | ||
| # Docker Configuration | ||
| # ============================================================================= | ||
| DOCKER_USERNAME=your_docker_username | ||
| DOCKER_REPO=your_docker_repo | ||
| DOCKER_IMAGE_TAG=prod | ||
|
|
||
| # ============================================================================= | ||
| # Database Configuration | ||
| # ============================================================================= | ||
| DB_IP=your_db_host | ||
| DB_PORT=3306 | ||
| DB_SCHEMA=your_db_schema | ||
| DB_USER=your_db_user | ||
| DB_PASSWORD=your_db_password | ||
|
|
||
| # ============================================================================= | ||
| # Security Configuration | ||
| # ============================================================================= | ||
| # JWT 시크릿 키 (최소 256비트 권장, 운영 환경에서는 반드시 강력한 키 사용) | ||
| JWT_SECRET_KEY=your_production_secret_key_minimum_32_characters_long | ||
| JWT_ACCESS_TOKEN_VALIDITY=3600000 # 1시간 (밀리초) | ||
| JWT_REFRESH_TOKEN_VALIDITY=86400000 # 24시간 (밀리초) | ||
|
|
||
| # ============================================================================= | ||
| # External API Configuration | ||
| # ============================================================================= | ||
| # Nexon Open API 키 (https://openapi.nexon.com/에서 발급) | ||
| NEXON_OPEN_API_KEY=your_nexon_api_key_here | ||
|
|
||
| # 경매 데이터 수집 설정 | ||
| AUCTION_HISTORY_DELAY_MS=1000 # API 호출 간 딜레이 (1초) | ||
| AUCTION_HISTORY_CRON=0 0 * * * * # 매시간 정각에 실행 | ||
|
|
||
| # 통계 스케줄러 설정 | ||
| STATISTICS_PREVIOUS_DAY_CRON=0 10 0 * * * # 매일 00:10에 전일 통계 확정 | ||
|
|
||
| # ============================================================================= | ||
| # Elasticsearch Configuration | ||
| # ============================================================================= | ||
| # Elasticsearch 기능 활성화 여부 | ||
| ELASTICSEARCH_ENABLED=true | ||
| ELASTICSEARCH_INDEX_ENABLED=true | ||
|
|
||
| # Elasticsearch 버전 (docker-compose-prod.yml에서 사용) | ||
| ELASTICSEARCH_VERSION=8.11.0 | ||
|
|
||
| # Elasticsearch 포트 (기본값: 9200, 9300) | ||
| ELASTICSEARCH_PORT=9200 | ||
| ELASTICSEARCH_TRANSPORT_PORT=9300 | ||
|
|
||
| # Elasticsearch JVM Heap 크기 (최대 3GB 권장) | ||
| # 주의: 시스템 메모리의 50%를 넘지 않도록 설정 | ||
| ELASTICSEARCH_HEAP_SIZE=1536m | ||
|
|
||
| # ============================================================================= | ||
| # JVM Configuration (선택사항 - docker-compose에 기본값 있음) | ||
| # ============================================================================= | ||
| # JAVA_OPTS_XMS=768m | ||
| # JAVA_OPTS_XMX=1536m | ||
| # JAVA_OPTS_MAX_METASPACE_SIZE=450m | ||
| # JAVA_OPTS_RESERVED_CODE_CACHE_SIZE=144m | ||
| # JAVA_OPTS_MAX_DIRECT_MEMORY_SIZE=192m |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Duplicate line:
-XX:ReservedCodeCacheSize=${JAVA_OPTS_RESERVED_CODE_CACHE_SIZE:-48m}appears on both line 59 and line 60. Remove the duplicate.