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.
요구사항
Dockerfile 작성
/app
).dockerignore
로 불필요한 파일 제외PROJECT_NAME
: discodeitPROJECT_VERSION
: 1.2-M8JVM_OPTS
: 기본값 빈 문자열)이미지 빌드 및 실행 테스트
prod
프로필로 실행http://localhost:8081
접속 확인Docker Compose 구성
docker-compose.yml
작성.env
활용, 형상관리 제외)schema.sql
자동 실행depends_on
)--build
플래그 사용)BinaryContentStorage 고도화 (AWS S3) 풀리퀘스트 체크리스트
1. AWS S3 버킷 구성
discodeit-binary-content-storage-(사용자 이니셜)
2. AWS S3 접근을 위한 IAM 구성
discodeit
) 생성AmazonS3FullAccess
권한 할당.env
파일에 추가3. AWS S3 테스트
com.sprint.mission.discodeit.storage.s3
AWSS3Test
.env
에 정의한 AWS 정보 로드(Properties 활용)4. S3BinaryContentStorage 구현
S3BinaryContentStorage
구현discodeit.storage.type
값이s3
인 경우 Bean 등록S3BinaryContentStorageTest
작성application.yaml
수정.env
에서 로드 (형상관리 제외)download
메소드는 PresignedUrl 활용하여 리다이렉트 방식 구현AWS를 활용한 배포 (AWS RDS, ECR, ECS) 풀리퀘스트 체크리스트
1. AWS RDS 구성
2. AWS ECR 구성
aws configure
실행 후 discodeit IAM 사용자 정보 입력3. AWS ECS 구성
discodeit.env
파일 생성