feat: 환경변수 체계 정비 및 Redis 인증 설정 추가 - #18
Open
miiniminimo wants to merge 2 commits into
Open
miiniminimo wants to merge 2 commits into
miiniminimo wants to merge 2 commits into
Conversation
- application.yml: DB 환경변수를 POSTGRES_* 표준 명칭으로 통일 (DB_URL/DB_USERNAME/DB_PASSWORD → POSTGRES_HOST/POSTGRES_DB/POSTGRES_USER/POSTGRES_PASSWORD) - application.yml: Redis 비밀번호 지원 추가 (REDIS_PASSWORD 환경변수) - docker-compose.yml: Redis에 requirepass 옵션 추가 (REDIS_PASSWORD 환경변수 참조) - .gitignore: .env 파일 추적 제외 추가 - gradlew: 실행 권한 설정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
POSTGRES_*계열로 통일DB_URL/DB_USERNAME/DB_PASSWORD→POSTGRES_HOST/POSTGRES_DB/POSTGRES_USER/POSTGRES_PASSWORDPOSTGRES_PORT도 환경변수로 분리 (기본값5432)REDIS_PASSWORD환경변수, 기본값 빈 문자열)--requirepass ${REDIS_PASSWORD}옵션 추가.env파일 추적 제외 (시크릿 정보 보호)+x) 설정Test plan
http://localhost:8080/oauth2/authorization/github500 에러 없이 리다이렉트 확인.env파일이 git에 추적되지 않는 것 확인참고
.env파일 내 환경변수 명칭도POSTGRES_*기준으로 맞춰야 합니다 (로컬 개발환경 기준):🤖 Generated with Claude Code