Repository navigation
Conversation
공식 minio/minio 이미지를 새로 받을 수 없어 새 PC에서 README 3단계가 실패한다. 앱 기본값과 같은 STORAGE_TYPE=local을 .env.example 기본값으로 쓰고, compose의 minio 서비스는 minio Profile을 지정할 때만 기동한다.
jwt.secret은 기본값이 없는 필수 값인데 .env.example과 README에 없어 새 PC에서 bootRun이 Context 초기화에 실패한다. 서명 키를 저장소에 두지 않고 README 2단계에서 openssl로 생성해 .env에 추가한다.
3단계·Health Check·종료 명령에서 minio를 빼고, 기본 저장소를 Local Filesystem, MinIO를 선택 Profile로 설명한다. 라이선스 표 MinIO 행에 2026-10-15 이미지 수급 확인 결과를 반영한다.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🔍️ 작업 내용
README 「빠른 실행」을 새 PC에서 그대로 따라 하면 두 곳에서 멈추던 문제를 고칩니다. 애플리케이션 코드와 Spring 설정은 바꾸지 않고
.env.example,docker-compose.yml, README만 바꿉니다.minio/minio이미지를 새로 받을 수 없어docker compose up이pull access denied로 실패jwt.secret: ${JWT_SECRET}은 기본값이 없는데.env.example·README에 없어bootRun이 Context 초기화에 실패✨ 상세 설명
MinIO를 기본 실행 경로에서 분리
.env.example:STORAGE_TYPE=minio→STORAGE_TYPE=local. 앱 기본값(${STORAGE_TYPE:local})과 같고, MinIO Adapter·Client는STORAGE_TYPE=minio일 때만 생성됩니다.docker-compose.yml:minio서비스에profiles: ["minio"]. 서비스는 남겨 두어 이미지를 가진 환경은docker compose --profile minio up -d minio로 계속 씁니다. 명령줄에서minio를 직접 지정하는 「테스트」의 E2E 명령도 Profile이 자동 활성화되어 그대로 동작합니다.JWT_SECRET 생성 단계 추가
echo "JWT_SECRET=$(openssl rand -base64 32)" >> .env를 추가했습니다. 서명 키를 저장소에 두지 않고 각자 생성합니다.JwtProvider가 요구하는 32바이트 이상(44자)을 만족합니다..env.example에는 값 없이 생성 방법만 주석으로 안내합니다.새 PC 재현 검증
develop: 3단계가 3초 만에pull access denied for minio/minio로 실패하고 컨테이너가 하나도 생성되지 않았습니다.INDEXED(Embedding Job 10초) → AI 검색(근거 유사도 81.1%) → RAG 답변SUCCESS(qwen2.5:7b, 100% GPU, 13.5초) → 종료 명령까지 성공했습니다.compose up7분 7초, BGE-M3 준비까지 42분 31초,ollama pull약 60분(DNS 실패 1회 후 이어받기), 빈 Gradle CachebootRun3분 19초. 상세 표는 설계 문서에 있습니다.🛠️ 추후 리팩토링 및 고도화 계획
num-predict400 미만). 별도 작업으로 조사합니다.application-local.yml의 기본값true와 맞지 않습니다.embedding-server는 모델을 받는 동안 진행 로그가 없고start_period900초 뒤unhealthy로 표시됩니다.storageWorkerE2eTest등)는 새 PC에서 여전히 minio Pull에서 실패합니다.💬 리뷰 요구사항
.env가 그대로라 영향이 없지만, Profile 방식이 팀 개발 흐름에 맞는지 봐 주세요.JWT_SECRET을.env.example고정값 대신 생성 명령으로 둔 판단을 봐 주세요. Windows PowerShell에는openssl이 기본으로 없습니다(Git Bash에는 있음).